LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is a continuous variable output possible, either analog or digital out

I need to output a voltage that varies slowly with time (continuous ramp, +300mv to -300mv at a rate of 1mv per second = 20min.). This is a huge buffer. The ramped voltage is superimposed on a sine wave that will vary from 10Hz to 40Hz. Is it possibly to continuously stream this out either the analog or digital outputs so changes to the output can be made without stopping the output and reconfiguring / reloading the buffer? I would like the output to be as continuous and glitch free as possible.
0 Kudos
Message 1 of 3
(2,408 Views)
Try this example for continuous analog output, modify the waveform calculator to superimpose your ramp and 10Hz to 40Hz signal. This VI keeps placing new data in the output buffer while it is being written, it keeps up and maintains phase for a continuous waveform over a long time. You can create your large buffer in a file and read parts of it in asa needed or calculate the waveform on the fly.
..
C:\Program Files\National Instruments\LabVIEW 7.1\examples\DAQmx\Analog Out\Generate Voltage.llb\Cont Gen Voltage Wfm-Int Clk-Non Regeneration.vi
Message 2 of 3
(2,402 Views)
Thanks for the fresh perspective BoxTrooper. With calculating the waveforms needed, it looks like this may work!
0 Kudos
Message 3 of 3
(2,392 Views)