Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Code -200220

I'm developing an independant application for a USB-6009. I get -200220 from the DAQmxResetDevice function. Does anyone know where I can find a list of these errors?
0 Kudos
Message 1 of 5
(3,898 Views)

tommysaurus,

Here's the error description:

Error -200220 occurred at an unidentified location

Possible reason(s):

Device identifier is invalid.

In order to get this info yourself, I believe you can use the DAQmxGetErrorString function.  It's explained quite nicely in the NI-DAQmx C Reference help.  But basically it should take an error code, and pass back a string description.

Hope this helps,
Dan

0 Kudos
Message 2 of 5
(3,896 Views)
Thanks, Dan
0 Kudos
Message 3 of 5
(3,891 Views)

Just wanted to add one other function you can use to get further information is DAQmxGetExtendedErrorInfo.  This may get you a bit more speciffic information on your error.

Dan

0 Kudos
Message 4 of 5
(3,891 Views)
It doesn't take an error code and return information (I wish it did). You call it right after an error has occurred and you can get the error information.
John Weeks

WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
www.wavemetrics.com
0 Kudos
Message 5 of 5
(3,884 Views)