Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

daq-mx communication

Hi, all,

 

Occasionally, one of our control PCs loses communication with a DAQ-MX. How can I diagnose and correct this issue?

 

Thanks,

- Steve.

 

0 Kudos
Message 1 of 12
(5,638 Views)
That makes no sense. DAQmx is software. Are you actually saying you lose communication with a DAQ device? If so, what kind?
0 Kudos
Message 2 of 12
(5,632 Views)

USB-6501.

0 Kudos
Message 3 of 12
(5,628 Views)

One thing to do is to make sure the USB port is not set to power down. Are you plugging it in to a direct port on the computer or an external hub?

0 Kudos
Message 4 of 12
(5,625 Views)

I'm pretty sure it's not that. The communication failures are erratic and unpredictable.

0 Kudos
Message 5 of 12
(5,622 Views)

What sort of error code do you get?

0 Kudos
Message 6 of 12
(5,620 Views)

-50405: User-defined error code.

 

-S.

 

0 Kudos
Message 7 of 12
(5,615 Views)

That is not a user defined error. It means:

 

NI Platform Services:  No transfer is in progress because the transfer was aborted by the client. The operation could not be completed as specified.

 

It would useful to see your code.

0 Kudos
Message 8 of 12
(5,613 Views)

Weird about the error code. The interface software is LVOOP running under TestStand, and it's a bit convoluted. I'll get a screenshot if that would help.

 

Regards, -S.

 

0 Kudos
Message 9 of 12
(5,607 Views)

Here are the VIs that do the raw bit manipulation. (I know they're inefficient but they do seem to work, until the device loses communication.)

 

Another data point is that Windows "finds" the device later, sometimes.

 

-S.

 

Download All
0 Kudos
Message 10 of 12
(5,600 Views)