Appendix A
API Commands
ChartScan User’s Manual
A-29
E?
- Error Status Query
TYPE
System
EXECUTION
Immediate
SYNTAX
E?
Returns present error condition of the unit with one of the following error
codes:
E000
- No error has occurred.
E001
- Invalid device dependent command (IDDC).
E002
- Invalid device dependent command option (IDDCO).
E004
- Channel configuration error.
E008
- Calibration error.
E016
- Trigger overrun.
E032
- Open T/C or Range Error.
E128
- Command conflict error.
DESCRIPTION
When an error has occurred, the ERROR indicator light on the front panel of the unit turns on. Error Status
Query (
E?
) is used to determine the present error condition. After execution of the Error Status Query command,
the unit responds with one of the following error codes:
E000
:
No error has occurred.
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.
E128
:
A Command Conflict Error indicates the issuance of a command that is in conflict with other commands
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 (
I
) command
is issued during an acquisition (
tstart 0
).
After execution of the Error Status Query, most error conditions are cleared. Error conditions may also be
cleared by issuing a Clear Event Status (
U0
) command to the unit. The ERROR light will remain on until an
E?
or
U0
command is executed to clear the error condition.
EXAMPLES
PRINT#1,"CLEAR07"
‘ Reset the unit
PRINT#1,"OUTPUT07;E?X"
‘ Request error status
PRINT#1,"ENTER07"
INPUT#2,A$
PRINT A$
‘ Display shows
E000
, no errors occurred
PRINT#1,"OUTPUT07;K3 X"
‘ Send illegal command option to the unit
‘ (Note: ERROR indicator light turns on)
PRINT#1,"OUTPUT07;E?X"
‘ Request error status
‘ (Note: ERROR indicator light turns off)
PRINT#1,"ENTER07"
INPUT#2,A$
PRINT A$
‘ Displays
E002
(Invalid Device Dependent Command Option)
Summary of Contents for OMB-CHARTSCAN 1400
Page 1: ...August 2002 OMB CHARTSCAN 1400 Portable Data Recorder p n OMB 483 0901 Rev 3 1...
Page 6: ...iv ChartScan User s Manual...
Page 24: ...ChartScan User s Manual...
Page 32: ...2 8 General Information ChartScan User s Manual Notes...
Page 56: ...3 24 ChartScan User s Manual Notes...
Page 124: ...6 20 Calibration ChartScan User s Manual...
Page 126: ...A ii ChartScan User s Manual...
Page 136: ...API Commands Appendix A A 10 ChartScan User s Manual Notes...
Page 176: ...API Commands Appendix A A 50 ChartScan User s Manual...
Page 230: ...Appendix C Registers Data Formats Queries ChartScan User s Manual C 13...
Page 237: ...Registers Data Formats Queries Appendix C C 20 ChartScan User s Manual Notes...
Page 257: ...E 2 ChartScan User s Manual Notes...
Page 265: ...ASCII Code Summary Appendix F F 8 ChartScan User s Manual Notes...
Page 269: ...Abbreviations Appendix H H 2 ChartScan User s Manual Notes...
Page 271: ...ChartScan User s Manual...