Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

generation and addition of two sin waves

Thanks
ok now i am sending the vi. it generates two different
sin waves and after addition of these sin waves i am calling A0 write VI. i can also watch them on Oscilloscope. now my questions are?
1) i can only give one value of amplitude. i would like to give max and min value of amplitude each for both sin waves.
2)how can adjust that this program must run for some fixed time for example 20 hours, and then automatically stops. in which part i have to place the watch?
3) i want to calculate internally period for both of these generated sin waves. how can i calculate the period of a sin in the program and display in indicator.
i am using board AT-MIO-16XE-50
thanks again for any help
0 Kudos
Message 1 of 2
(7,071 Views)
1) The sine wave waveform generation sub vi allows you to enter an amplitude and offset. With these, you should be able to get what you want.
2) If you are using LV 7.0 or later, the Elaped Time express VI will do the trick. Just put it in a while loop and wire the output to the loop termination.
3) If you use the sine waveform generation, the perirod will be dependent on the parameters entered for frequency, sample rate and number of waveform samples.
0 Kudos
Message 2 of 2
(7,071 Views)