6-8
Error Messages
Command Error
Command Error
An error number in the range [199 to 100] indicates that an IEEE 488.2 syntax error has been detected
by the instrument’s parser. The occurrence of any error in this class will cause the command error bit (bit 5)
in the event status register (IEEE 488.2, section 11.5.1) to be set. If this bit is set, one of the following
events has occurred:
• An IEEE 488.2 syntax error has been detected by the parser. That is, a control-to-device message was received
which is in violation of the IEEE 488.2 standard. Possible violations include a data element which violates device
listening formats or whose type is unacceptable to the device.
• An unrecognized header was received. Unrecognized headers
include incorrect device-specific headers and
incorrect or unimplemented IEEE 488.2 common commands.
Events that generate command errors will not generate execution errors, device-specific errors, or query
errors; see the error definitions in this chapter.
Command Error Message Descriptions
This section lists the signal generator’s command error messages and their associated descriptions.
Error Number Error Description [description/explanation/examples]
-100
Command error
This is a generic syntax error for devices that cannot detect more specific errors. The
code i
ndicates only that a command error as defined in IEE 488.2, 11.5.1.1.4 has
occurred.
-101
Invalid character
A syntactic command contains a character which is invalid for that type. For example, a
header containing an ampersand, SETUP&. This error might be used in place of error
numbers
114, 121, 141 and some others.
-102
Syntax error
An unrecognized command or data type was encountered. For example, a string was
received when the device does not accept strings.
-103
Invalid separator
The parser was expecting a separator and encountered an illegal character. For example,
the semicolon was omitted after a program message unit.