LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate Continuous Waveform with 0.1 freq increments

I'm trying to generate a continuous waveform to send to an analog output, for example 3.5 Hz frequency. I need to multiply the output waveform by 10 so there are no skips from the end of the array to the beginning, but I still want to update the output every 10ms (1000 updates/sec). Any clues?
Thanks.
0 Kudos
Message 1 of 2
(2,591 Views)
Hello,

I would recommend using the "Get Waveform Components" vi (you can search for it from the functions palette on the block diagram). This will allow you to take out just the Y-values (the array of data points) of the waveform and multiply them by ten, without modifying the time values. Then, you can use the "Build Waveform" vi to build the modified waveform back up.

I attached a simple VI that shows the use of these functions. I hope this helps!

Liz Fausak
Applications Engineer
National Instruments
Download All
0 Kudos
Message 2 of 2
(2,591 Views)