11-29-2025 01:15 AM
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 waveforms
what I had before, same for AO_0
Structure
12-03-2025 02:20 PM
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.