06-25-2012 07:51 AM
Hi, all,
Occasionally, one of our control PCs loses communication with a DAQ-MX. How can I diagnose and correct this issue?
Thanks,
- Steve.
06-25-2012 10:28 AM
06-25-2012 10:34 AM
USB-6501.
06-25-2012 10:47 AM
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?
06-25-2012 10:51 AM
I'm pretty sure it's not that. The communication failures are erratic and unpredictable.
06-25-2012 10:57 AM
What sort of error code do you get?
06-25-2012 11:13 AM
-50405: User-defined error code.
-S.
06-25-2012 11:20 AM
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.
06-25-2012 11:38 AM
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.
06-25-2012 02:27 PM
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.