LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use both AO 0 and AO 1, and also DMM recording of current?

Trying to use both AO 0 and AO 1 in an NI-Elvis II board to generate both a DC voltage and a square wave respectively, where I can change the voltage out for DC and change Duty cycle of the Square wave. But I am having trouble doing that with Labview into my NI Elvis Board. I am also trying to having the DMM results read out the current in the circuit but no data exits out. Any tips or help?

I am trying to additionally make it work as an FGV and go into a CaseWhat I tried with some very unclear resources of combining waveformsWhat I tried with some very unclear resources of combining waveformswhat I had before, same for AO_0what I had before, same for AO_0image_2025-11-28_231358238.pngimage_2025-11-28_231419916.pngimage_2025-11-28_231432114.pngimage_2025-11-28_231448417.png Structure

0 Kudos
Message 1 of 2
(106 Views)

Generally, DAQmx modules have one timing engine for AO. If you want to control two output channels, you need to add both channels to the same task; all channels in the task must share the same timing settings (rate, timing mode, start trigger, etc.). In your code, compute the output signals (recommend each signal be a waveform: all with same dt and number of samples). Build an array of waveforms and wire that to the DAQmx Write (NChan NSamp) instance. 

Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration
Message 2 of 2
(39 Views)