Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

controlling two outputs of daq with one daq assistant

My DAQ, NI USB 6211 has two analog outputs. I am trying to control both outputs. How can I do this using two separate knobs. I wish ao0 to control x axis and ao1 to control the y axis. Sending both of the signals into the data port does not work, and I have tried creating an array to send in the data. What must be done in order to control both the ao0 and ao1 separately.

Also, once this works I want to create a loop for x values so that the values constantly loop from 0-2.5V in increments of 0.1V. Is this possible? Thank you,

Josh
0 Kudos
Message 1 of 2
(2,937 Views)

You could have 2 single Point AO DAQmx writes and perform the required operation independently for each channel

Using the same logic, you could create and array of vaues from 0 to 2.5 with an increment of 0.1 V and do a single point generation inside a loop, by indexing each point

 

0 Kudos
Message 2 of 2
(2,919 Views)