LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 201426 - wiring multiple daqs

I'm attempting to set up a Data acquisition program for an automated lab.  I have used the DAQ Assistant to input all my channels.  The physical channels consist of 4 RTD's wired to a single cDAQ 9171 and 8 current channels with various instruments on them wired to a cDAQ 9208.  The broken arrow indicating a wiring problem does not appear when all these channels are wired to the same DAQ Assistant icon, but when I try to run it I get

 

error 201426

 

 

 

"one or  more devices do not support multidevice tasks".

 

None of the measurements is using more than one daq at a time.

 

The issue is I need them all to be controlled by the same start button and preferably in the same loop so all the measurements are set to the same timing and have the same duration.  Currently I have placed them all in a single while loop. 

 

 

I have made a different version where the two daqs are on separate while loops, and each daq is wired to a separate Daq Assistant icon but I have not figured out how to link the two loops to one on/ off controller. Also with this configuration I get an error message.

 

Error 2000022

"Resource requested by task is reserved by a different task".

 

 

The program will run but only the channels that were wired first will work.

 

 

So to sum up my question how do I input data from multiple daqs to a program such that they are all controlled by the same initiating command?

 

Any insight would be very helpful.

 

Jo Murphy

0 Kudos
Message 1 of 3
(3,291 Views)

Too short answer (no time, now, for a better one - maybe it will help, though):

 

Use two DAQ assistant express VIs - one for each module. Set one to start on a PFI - the other sets the PFI when starting (if the modules share a PFI).

 

Something else to try: after creating the two DAQ assistants, right-click and turn them into daqmx code. Chain the "start task" VIs with the error wire.

0 Kudos
Message 2 of 3
(3,273 Views)

Thanks That worked wonderfully.

0 Kudos
Message 3 of 3
(3,246 Views)