ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error code-200429 when executing a DAQmx Read

Hello again all.  I'm once again up against an error in a seemingly simple part of my code.  I'm using a USB-6009 multifunction I/O module.  I am currnetly controlling two Mass Flow Controllers with analog out 0 and 1 (device 1).  I'm also using analog in 0 and 1 to read the indicated voltages back from those MFCs.  I have recently tried to add a third analog in (first ai2, and then ai3) to read the analog signal coming in from an Alcatel Helium Leak Detector.  Every time I run the vi, I get an error message (200429, pointing to the DAQmx Read function.  The indicator for the Alcatel voltage reads 0.00.  Can anyone suggest some solutions?
0 Kudos
Message 1 of 3
(3,098 Views)

hi there

you can't use a VISA task after it has been closed (see attachment)

 

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
Message 2 of 3
(3,086 Views)
Never Mind...I got it.  I had to go into my sub vi where I initialy created the DAQ channel, and add another channel to it.  It seems a little frustrating that you must create all of them simultaneously, rather than add them as you go.  Anyway, it works great now.  I just input dev1/ai0:2, and I'm up and running!  Thanks anyway.
0 Kudos
Message 3 of 3
(3,080 Views)