LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous DAQ-Intermittent Analog Output

I want to read data continuously from some sensors (Pressure, Temperature, etc...), and do intermittent analog output on demand.
I am using an event case for the analog output, so that when I push a button, LV sends an analog signal to a NI Chassis for output. 
If I put the Analog output and data acquisition block inside the same loop without the event structure (not on demand), everything works fine.

If I put the Analog output event case (on demand) and the data acquisition block in the same loop, the graph only gets updated once after the entire signal has been sent.
Bottom line: I want LV to always take sensor data, and send commands to the analog output when I push a button.
I attached my code for reference. (The Multiple Stage Square Wave is a sub-vi).
Note: the waveform I am using for the output signal is constructed once based on user input. the pulse and waveform functions in labview did not give me the control I needed. 
Thanks,
-JTech452
0 Kudos
Message 1 of 3
(2,728 Views)

Can you post your vi in older version LV 2009.



------------------------------------------------------------------------------------------------------
Kudos are (always) welcome for the good post. 🙂
0 Kudos
Message 2 of 3
(2,714 Views)

Hello JTech_452,

 

Check the example Pause Analog Output of Periodic Signal with Regeneration on Specific sample. I believe it is a little similar to what you want to do.

 

Best Regards,

0 Kudos
Message 3 of 3
(2,701 Views)