National Instruments 321645c-01 用户手册
©
National Instruments Corporation
A-1
NI-DAQ FRM for PC Compatibles
Appendix
A
Status Codes
This appendix lists the status codes returned by NI-DAQ, including the
name and description.
name and description.
Each NI-DAQ function returns a status code that indicates whether
the function was performed successfully. When an NI-DAQ function
returns a code that is a negative number, it means that the function did not
execute. When a positive status code is returned, it means that the function
did execute, but with a potentially serious side effect. A summary of the
status codes is listed in Table A-1.
the function was performed successfully. When an NI-DAQ function
returns a code that is a negative number, it means that the function did not
execute. When a positive status code is returned, it means that the function
did execute, but with a potentially serious side effect. A summary of the
status codes is listed in Table A-1.
Note
All status codes and descriptions are also listed in the NI-DAQ online help.
Table A-1. Status Code Summary
Status Code
Status Name
Description
–10001
syntaxError
An error was detected in the input
string; the arrangement or ordering
of the characters in the string is not
consistent with the expected ordering.
string; the arrangement or ordering
of the characters in the string is not
consistent with the expected ordering.
–10002
semanticsError
An error was detected in the input
string; the syntax of the string is correct,
but certain values specified in the string
are inconsistent with other values
specified in the string.
string; the syntax of the string is correct,
but certain values specified in the string
are inconsistent with other values
specified in the string.
–10003
invalidValueError
The value of a numeric parameter is
invalid.
invalid.
–10004
valueConflictError
The value of a numeric parameter is
inconsistent with another one, and
therefore the combination is invalid.
inconsistent with another one, and
therefore the combination is invalid.
–10005
badDeviceError
The device is invalid.
–10006
badLineError
The line is invalid.