Chapter 6 397
Error Messages
Error Message Descriptions
Command Error Messages
[−199 to −100]
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 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 wasreceived. Unrecognized headers include
incorrect device-specific headers and incorrect or unimplemented
IEEE 488.2 common commands.
Command Error Message Descriptions
(Number) Description
(-184) Macro parameter error
Indicates that a command inside the macro definition
had the wrong number or type of parameters.
(-183) Invalid inside macro definition
Indicates that the program message unit sequence,
sent with a *DDT or a *DMC command, is syntactically
invalid (see IEEE 488.2, 10.7.6.3).
(-181) Invalid outside macro definition
Indicates that a macro parameter place holder
($<number) was encountered outside of a macro
definition.
(-180) Macro error
This error is generated when using a macro or
executing a macro. This error message is used if the
device cannot detect a more specific error.
(-178) Expression data not allowed
A legal expression data was encountered, but was not
allowed by the device at this point in parsing.