Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

"device not available for routing" error with USB6211

Hi all,
 
I'm using an NI USB6211 multifunction daq board for a variety of different things within one application. The problem I'm having is that I get the following error:
 
-89130: Device not available for routing.  It is possible that the device needs to be reset or that the device is being reset.
 
But I can't seem to solve it. The VI where the error is generated is attached. I'm basically setting up 3 DAQ tasks, one analogue input, one counter task to return a relative time measurement for each of the analogue data points and one counter task to generate a digital pulse synchronised with the analogue input.
 
Perhaps important to note is that I have used both of the boards counters within the application prior to this VI running, however the tasks that the counters were associated with have been cleared prior to the running of this VI. I have also tried programmatically resetting the DAQ board prior to running this VI, but that doesn't work either!
 
I am also able to use the board to generate a digital pulse train in a completely separate application, so I don't think its a board issue.
 
If anyone can suggest things for me to try to solve this, I'd be most grateful!
 
Thanks in advance!
 
Paul Morris
0 Kudos
Message 1 of 2
(2,749 Views)
Sorry all, first off, I didn't attache the code.
 
Secondly, I spotted the cause of the problem (I was using a constant which referred a channel on a DAQ device which wasn't connected to the system!!).
 
A moderator can delete this thread if they want!
 
Thanks
 
Paul
0 Kudos
Message 2 of 2
(2,747 Views)