07-13-2006 12:36 PM
Yesterday I got 15433 from DAQmxStartTask and had to post here, I had no idea what the error meant since DAQmxGetErrorString could not recognize the error.
Today I am getting -3621 from DAQmxReadAnalogF64, and again DAQmxGetErrorString cannot tell me what this means. There is nothing in any help file I have seen at that indicates what these error codes might mean.
It makes troubleshooting my code very difficult as I the only way I can find out what is going on is to post here where I might have to wait a day or two for an anwer here.
So is there a document somewhere, or a web page, or something I can access where I can find out the meaining of these error codes?
07-14-2006 02:40 PM
07-31-2009 01:10 PM
With that being said, you can look in NIDAQmx.h for a complete list of DAQmx error codes.
Wow. So, I need to look for nidaqmx.h in my computer (if it was installed) to get only the reference name of the error code??
Why it is not in the help files??
Very useful...
10-07-2015 10:36 AM
is there any updates on this question? Error -200088 is blowing my mind... XX(
10-07-2015 01:55 PM
Task specified is invalid or does not exist.
Found under Help/Explain Error and enter that code number in.
-AK2DM
01-12-2016 03:41 PM
Link below gives you driver code errors:
http://zone.ni.com/reference/en-XX/help/370473H-01/mstudiowebhelp/html/nidaqmxdrivererrors/
Please note: there are other error codes possible (like error code -50013, see here: https://lavag.org/topic/5900-ni-daqmx-error-50103-the-specified-resource-is-reserved/)
03-11-2016 09:41 AM - edited 03-11-2016 09:44 AM
The given zone.ni.com reports a dead page.
List of codes found (working today) at:
Note that this covers the 'errors' only, i.e. 'Status codes' < 0.
I have not found yet a similar list for 'warnings', viz. codes > 0...
And why not make a complete list of codes, btw...?
Hoping this helps
02-07-2022 12:53 PM
Actually, all of the URLs given so far do not work any longer (and yes, some of us are still finding this thread several years later when dealing with the same need). The NI web site's own search function is no help, either (at least not today), but a decent web search engine can do a better job. Try this:
https://www.google.com/search?q=daqmx+error+codes+site%3Ani.com
Unfortunately, the only such documentation page I can find (presently titled "NI-DAQmx Driver Error Codes") only lists error codes beginning with "-2". It doesn't cover such things as -88709 or -50103.