API Command Reference
TYPE
EXECUTION
SYNTAX
DESCRIPTION
When an error has occurred, the ERROR indicator light on the front panel of the unit turns on. Error Status
Query (
the unit responds with one of the following error codes:
: No error has occurred.
E000
E001
: Invalid device dependent command (IDDC) due to a command syntax error.
E002
: Invalid device dependent command option (IDDCO). A command parameter was out of range or
missing.
E004
: A Channel Configuration Error indicates that a channel has been inappropriately configured, either
because the channel is not present or because the specified channel type is not compatible with the card type
installed.
E008
: A Calibration Error occurs when the card calibration has failed or has been inappropriately calibrated.
E016
: A Trigger Overrun Error occurs when more than one trigger event occurs for a given trigger state or when
a non-expectant trigger event occurs.
E032
: An Open T/C Error or Range Error, occurs when the hardware circuitry detects an open thermocouple, or
when the software detects the A/D input has reached or exceeded its linearization.
: A Command Conflict Error indicates the issuance of a command that is in conflict with other commands
E128
that have been issued or the current configuration. This error usually occurs when a command is issued that
cannot be performed because of the current state of the unit. For instance, if the Set Scan Interval (
is issued during an acquisition (
After execution of the Error Status Query, most error conditions are cleared. Error conditions may also be
cleared by issuing a Clear Event Status (
or
command is executed to clear the error condition.
U0
EXAMPLES
PRINT#1,"E?X"
INPUT#1,A$
PRINT A$
PRINT#1,"K3 X"
PRINT#1,"E?X"
INPUT#1,A$
PRINT A$
A-22
E?
System
Immediate
E?
Returns present error condition of the unit with one of the following error
E000
E001
E002
E004
E008
E016
E032
E128
E?
) is used to determine the present error condition. After execution of the Error Status Query command,
tstart 0
- Error Status Query
codes:
- No error has occurred.
- Invalid device dependent command (IDDC).
- Invalid device dependent command option (IDDCO).
- Channel configuration error.
- Calibration error.
- Trigger overrun.
- Open T/C or Range Error.
- Command conflict error.
).
U0
) command to the unit. The ERROR light will remain on until an
' Request error status
' Display shows
E000
' Send illegal command option to the unit
' (Note: ERROR indicator light turns on)
' Request error status
' (Note: ERROR indicator light turns off)
' Displays
(Invalid Device Dependent Command Option)
E002
, no errors occurred
NetScan User's Manual
Appendix A
I
) command
E?