101
Appendix B
Error Messages
The IEEE 488.2 standard defines certain bits in the status registers as error
condition flags. When an error occurs, one of the error bits is set in the status
registers. The bit enable masks and the service request enable allow the 2835-
C to alert the remote controller that an error has occurred. The standard
allows error numbers that range from -100 to -499.
When using the RS-232C port the RS-232 Echo Mode controls when errors are
returned. When the Echo Mode is enabled the errors are returned immedi-
ately. When the Echo Mode is disabled the errors are not returned immedi-
ately and the *ERR? command must be used to retrieve the errors.
B.1
Command Errors
Command Errors are associated with the conversion of the data received into
the commands and their parameters (parsing). Incorrect syntax, incorrect
parameters, and improper command format will generate these errors. Any
command error will cause the Command Error bit (bit 5) in the Standard
Event Status Byte to be set.
-102, “Syntax error”
Occurs when an error in command structure or parameter type is detected.
Some typical causes are:
Using a number as a command mnemonic.
Using the wrong parameter type.
Using ASCII characters outside of a string constant that are not defined by
the command language syntax.
Missing or too many parameters.
The above list in not exhaustive but does give the basic idea of what to look
for.
-110, “Command header error”
This error is generated when the system parser detects an invalid character in
a command header.
-113, “Undefined Header”
This error is generated when the 2835-C does not recognize a command
header.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com