How do I simulate sine waves up and down several triangular waveforms?
I need to simulate a number of sine waves at about 10 or 20 Hz and run these up and down a number of triangular waves. I am using the "Simulate Signal" box which generates the sine waves but am not sure what or how to connect to this to "ramp" the sinusoidal waves up and down triangular waves. The triangular waves would run at about 1 Hz.
thanks
Martin
Martin,
It seems as if you could use a second "Simulate Signal" VI, set it for a triangle pattern at your desired frequency, and then add the resulting waveform to the sine waveform. If I run that in a loop, I get a nice ramping sine wave (see attached image).
Hope it helps,
John
Attachments:
triangle_sine.png 8 KB
Similar Messages
-
How to get the sine wave sample of the input and output in the same time?
I discovered that the samples were acquired did not in the same time in my vi.Could you tell me how to get the sine wave sample of the input and output in the same time?
Output:9263;
Input:9201
Attachments:
singal requency.vi 104 KBHello Yun_Zhu,
Your VI looks like you started from an example, and you are on the right track.
To clarify are you trying to synchronize the input and the output waveforms? If you you will need to share a time base and a start trigger. Check out the synchronization examples from LabVIEW
Anthony F.
Product Marketing Engineer
National Instruments
Attachments:
HIODAQmxSyncMultiDev.png 70 KB -
How to view different sine waves in an array and make an fft of these and display it in one graph
How can i cannect the output of my mathscript in the Spectral Measurements VI SIgnal Input. I'm having a problem since the output of the mathscript file "D" is DBL 2D. I dont know how to convert this data type in order to be connected to the signal input of the Spectral Measurements VI. I also want that the waveform graph connected to output of the Spectral Measurements VI, will display the FFT of the three sine waves in one graph.
Attachments:
1.JPG 32 KBDuplicate
LabVIEW Champion . Do more with less code and in less time . -
Sine waves, sidechaining, and a deeper kick drum question
Hi all,
I found the following tutorial on sidechainng a sine wave to create a deeper sounding kick drum and tried to do it, but I'm going wrong somewhere.
http://www.generate-music.com/QT/L8_SinewaveTutorial.mov
He says to use a test tone generator to create a sine wave at 55 hz and export that as an audio track. I'm not quite sure how to do that. I saw a test oscillator plug-in when you create an audio track, so I set that up to about 55hz and hit record, and it just gives me that test tone but it doesn't look like anything recorded.
Also, when he puts the Channel EQ, Expander, and Noise Gate on the Aux 2 audio track, I see a "SineWav..." channel strip setting with those 3 plug-ins...is this an existing strip setting that I just can't find, or did he manually place the 3 plug-ins and then save it as "SineWav..."?
Any help is appreciated! Thanks!Hi,
You can export the 55 Hz sine wave, just do a new empty session, create an instance of the tone generator, set ti 55 Hz, turn it up (lower the volume of your speakers) and bounce a few bars of it.
Then you'll have your 55 Hz audio file ready for use. Import it into the session you'll want to use it on.
As far as the channel preset, he robably made that one himself. No worries, just match what he did.
Cheers -
How to obtain a sine wave polar representation?
i need some hint
LabVIEW has a polar plot. I do not know if the Base Version has the featur though. Goto functions >> graph >> ctls >> polar plot indicator. This places a combination VI and picture control on the diagram and front panel. The data terminal for the VI is an array of clusters of mag and phase in degrees. You can easily construct the data for a sine wave in a For Loop by bundling 1 with the i and building an array of 360 elements.
-
I have very slow internet and I'm looking for a way of downloading a App Store update once and update several computers all of them are on the same app store account and same network, would remote desktop be able to do that? The account is a single user account, and there is no problem to download the updates to each computer, from a licensing perspective. It's the time all those downloads take with 1 Mbs internet speed, hats the problem. I managed to move the yosemite download out of the application folder and copy it to all my mac's but say a "pages" update will install automatically when download is complete and delete the downloaded file. So I'm wondering if Remote desktop would allow me to distribute one download to all my macs?
I found the solution: Download Pacifist and the 10.6.7. Combo Update and extract the App Store.app from that update into the app folder. Then every thing works fine.
-
How to display Bathtub Curve for a simulate sine wave?
I cant find the VI whcih has this function, please show me ,thx
I'm sorry, but I don't understand your question. What do you mean by confirming it's a "pure" waveform. Please define "pure waveform". What exactly are you trying to determine? The CompactDAQ module you have will have specifications on its accuracy and resolution, so it will never be a "pure waveform" (at least based on my definition of "pure waveform"). It will always be a representation of it.
-
How to setup the MDT Upstream server and down stream server
Hi,
i have configured the MDT upstream server at office1 & i need to setup the downstream server at office2.
Image should be replicate from upstream server to downstream server and image should be build from
downstream server at office2 not upstream server. I need to use LAN network, not MAN network.
How i can setup the downstream MDT server?
Can you please suggest on this.
Thanks!Hi Meganathen,
I would go for a periodically (scheduled) robocopy. Yes it's perfectly possible to create this with selection profiles and linked deploymentshares, but based on my own experiences and consulting other subject matter experts like MVP Johan Arwidmark, it is
advised to take care of replication yourself by robocopy or by DFSR
This way you are in control, and robocopy is a great tool to take care of replication of files.
To keep in mind your central deploymentshare and branche deploymentshare, you can play with the bootstrap.ini and customsettings.ini, that they will refer to a different deploymentshare location based on default gateway.
See these links for more information:
http://social.technet.microsoft.com/Forums/en-US/1c4bf193-6293-4207-9995-005dd1756fdd/mdt-2010-for-multiple-sites?forum=mdt
http://tech.sportstoday.us/windows_7/fine-tuning-mdt-deployments---creating-a-linked-deployment-share-(part-2)---maintaining-linked-deployment-shares.aspx
Good luck!
If this post is helpful please click "Mark for answer", thanks! Kind regards -
How to stop record scrolling using up and down arrow key in forms
Hi ,
how we can restrict the record navigation using up & down arrow key...
Thanks & Regards.
vvmwrite key-up & key-down triggers at form level.
inside that write the code
BEGIN
NULL;
END; -
How to see the enitre ITAB contents and down load them while debugging ?
Hi All ,
One of my ITAb will be populated with 2000 records . Is there any option in Debugging editor to download and see all the fields and all the records at a time instead of 5 records with few fields. We are working in ECC 6.0 .
Thanks
Dharma PHi
You can click on <b>'Excel icon' </b> while <b>debugging</b>, to download the contents of the internal table.
Also, you can click on the '<b>+</b>' icon to increase the internal table view, so that more entries are displayed.But, you need to use navigate buttons to scroll between columns.
Regards
Raj
Message was edited by:
Rajasekhar Dinavahi -
What i am trying to do is create a program that lets the user have a small conversation with the computer but i don't want to use "else" and list the possible inputs seperatley and have to write the same thing over and over again. does anyone know of a way i can list possible inputs together and have them lead to the same result?
Your script asks the question twice because that's what you tell it to.
The first line of your script asks the question:
display dialog "hey" default answer ""
then you define your lists:
set mylist to ("hi", "hey")
set mylist2 to ("sup", "yo")
Then you ask the question again. This time you capture the result in theanswer:
set theanswer to text returned of (display dialog "hey" default answer "")
The simple solution is to nix the first line of your script, since it serves no useful purpose.
Then, your logic on checking the answer is flawed. If you look at the script in a formatted/indented manner you'll see:
if theanswer is in mylist then
display dialog "what's up"
if theanswer is in mylist2 then
display dialog "dude"
end if
end if
where you can see that theanswer has to be in mylist for any of the rest of this code to run - that includes checking to see if theanswer is in mylist2.
You need to separate this, either into two separate if statements:
if theanswer is in mylist then
display dialog "what's up"
end if
if theanswer is in mylist2 then
display dialog "dude"
end if
or by using an else statement:
if theanswer is in mylist then
display dialog "what's up"
else if theanswer is in mylist2 then
display dialog "dude"
end if
In the first case both checks are performed. In the second case, the second check is only performed if the first one fails (i.e. theanswer has to NOT be in mylist in order for mylist2 to be checked) -
How to make photos not go up and down
i want a stable normal picture for my movie
Click on the crop icon for your picture. You'll see a topline menu "Fit - Crop - Ken Burns." Click on Fit
-
I'm looking for a clever setting up of this feature for accessibility reasons.
If you are referring to the up/down arrows, they are gone. There is no way to set them up short of a complete system hack.
Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
Feedback -
How to create sine wave and step input using cwgraph in VB 6.0
hello..
i'm doing my master's project now. i'm stuck on how to create a sine wave and a step input using the cwgraph using VB 6.0. please help. thanks.hello..thank for the reply.
i'm having problem with my coding using cwgraph. can anyone help. everytime i do the full compile, there's error.but it can still can run, but can't convert to application form.for your info, i'm using RTscope and cwgraph to plot graph.the error is in the cwgraph coding.below are part of the coding with error. and can somebody tell me how to add cwgraph component in the VB? i try adding component, but it's not in the list of component,and i've browse for it already too.i'm doing the software at home, but i'can run it at my lab cause cwgraph component is not listed.please help.
Dim countTime As Integer, count1 As Integer, countFreq As Integer, countVolt As Integer
Private Sub cmdRun_Click()
If cmdRun.CausesValidation = True Then
cmdPause.CausesValidation = False
tmrOsc2.Enabled = True
tmrOsc3.Enabled = True
Else
cmdPause.CausesValidation = False
tmrOsc2.Enabled = False
tmrOsc3.Enabled = False
For count1 = 0 To 100
Data1(count1) = 0
Data2(count1) = 0
RT1.Value(1, count1) = 0
RT1.Value(2, count1) = 0
RT1.Refresh
CWGraph2.Plots(1).PlotY count1 ' THIS CODING HAS AN ERROR ...
CWGraph2.Plots(2).PlotY count1 ' THIS CODING HAS AN ERROR ...
Next count1
End If
End Sub -
Simultaneous analog output 1k sine wave and data acquisition
Although many topics of simultaneous analog output and input can be found in NI Developer Zone, I have not found a case similar to my project. I'm trying to generate a 1kHz sine wave by using the analog output of NI DAQPad-6070E, and acquire one channel input signal simultaneously. I found most of the examples can not work properly above 100Hz. Any suggestions are welcome. Thank you.
JianI have sucessfully solve the problem when I observed the increase of
scan backlog number. Simply increase the buffer size of AI/AO and you
can make the 1kHz sine wave output and data acquired properly.
On Tue, 3 Feb 2004 09:03:07 -0600 (CST), jujian wrote:
>Although many topics of simultaneous analog output and input can be
>found in NI Developer Zone, I have not found a case similar to my
>project. I'm trying to generate a 1kHz sine wave by using the analog
>output of NI DAQPad-6070E, and acquire one channel input signal
>simultaneously. I found most of the examples can not work properly
>above 100Hz. Any suggestions are welcome. Thank you.
>
>Jian
Maybe you are looking for
-
Problem when upgrading from Gnome 3.0 to 3.2 [SOLVED]
Hi, I've been fighting for 2 days trying to fix this problem: after having upgraded from Gnome 3.0 to 3.2, I can't login anymore (I have this message telling me that something wrong happened and I should try again). Here is what I tried: - Removing ~
-
I get the following error message after installing the latest version of itunes via auto update: "the itunes Library file cannot be saved. An unknown error occurred (-54). Has anyone ever seen this message and anyone have a suggestion what to do?
-
Windows 7 - 'iTunes Has Stopped Working' Window Repeatedly Popping Up
Hi there, I've encountered a problem that I couldn't fix myself so I'm hoping someone can impart with some knowledge. The dreaded 'iTunes has stopped working' window pops up constantly, and continues to reappear again and again. Even navigating to th
-
Hi, I would like to know how can I collapse all nodes of a JTree, or from a given node down. I've tried with collapseRow(int row) but it didn't work out. Thanks
-
Rebuild Flex in FlexBuilder?
I'm wanting to subclass Slider and need to tweak Slider's code to set a method as override-able... does anyone have any experience rebuilding Flex from inside FlexBuilder before I bumble along? The best I can tell this is the route I have to go, I've