Where can I find a List for the Ranges of Error Codes for all National Instruments Drivers?
Primary Software: Driver Software>>NI-DAQmx
Primary Software Version: 8.3
Primary Software Fixed Version: 8.10
Secondary Software: LabWindows/CVI Run-Time Engine
Problem: I need to do error checking in a programming environment other than LabVIEW. Error Code Ranges for each driver would be helpful with that process. Is there a place I can find Error Code Ranges?
Solution:
Because error codes are being added to National Instruments software continuously, a list of error code ranges is not maintained (excluding LabVIEW). There is a way around this problem. When you install National Instruments software (drivers and development packages) an error code text file is installed on your system. The error code text files are typically found in
C:\Program Files\National Instruments\Shared\Errors\English
When you open the text files relating to particular drivers the error codes go in order, and thus you can get the ranges for each driver.
LabVIEW error code ranges can be found at the Developer Zone Article: Ranges of LabVIEW Error Codes. In addition, the attached LabVIEW vi can be used to generate a list of all error codes (along with their explanations) for a specified range.
Related Links: KnowledgeBase 3NQAK1B9: Where Can I Find a List of NI-DAQmx Error Codes and Their Descriptions? KnowledgeBase 41Q6FHS9: LabVIEW Error Code File Locations
Attachments:
generate error code list.vi
Report Date: 03/26/2007
Last Updated: 04/27/2009
Document ID: 47PDD5JV