LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to generate two analog voltages to control two mass flow controllers simultaneously using a USB-6009 multifunction I/O module

Hello all.  I'm trying to create a VERY simple vi to allow me to control to mass flow controllers simultaneously, with the two 0-5Vdc analog outputs found on the USB-6009.  I've tested the device under "devices and interfaces", and I've set up two NI-DAQmx tasks under Data Neighborhood.  Whenever I try to run the vi, I get the following error:
 

Error-200371 occurred at DAQmx Create Channel (AO-Voltage-Basic).vi

 

Possible reason(s):

 

Requested multiple virtual channels that correspond to the same physical channel within a task.  A task cannot contain multiple physical channels of a specified type.  Use different physical channels for each virtual channel. 

 

I tried changing the DAXmx Write from Analog from an "Analog DBL 1Chan 1Samp" to "Analog 1D DBL NChan 1Samp" with the same result.  I just want to control the dc voltage(0-5V), using two front panel potentiometers, to AO0 and AO1.  Can anyone explain what I'm doing wrong? 

0 Kudos
Message 1 of 2
(3,009 Views)