3-17
Troubleshooting
Execution Error
Execution Error
An error number in the range [-299 to -200] indicates that an error has been
detected by the instrument’s execution control block. The occurrence of any error
in this class will cause the execution error bit (bit 4) 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:
• A <PROGRAM DATA> element following a header was evaluated by the device as
outside of its legal input range or is otherwise inconsistent with the device’s
capabilities.
• A valid program message could not be properly executed due to some device condition.
Execution errors will be reported by the device after rounding and expression
evaluation operations have been completed. Rounding a numeric data element, for
example, will not be reported as an execution error. Events that generate execution
errors will not generate command errors, device-specific errors, or query errors;
see the error definitions in this chapter.
Execution Error Message Descriptions
This section lists the signal generator’s execution error messages and their
associated descriptions.
Error Number Error Description [description/explanation/examples]
-200
Execution Error
This is a generic syntax error for devices that cannot detect
more specific errors. The code indicates only that an execution
error as defined in IEEE 488.2, 11.5.1.1.5 has occurred.
-201
Invalid while in local
Indicates that a command is not executable while the device is
in local mode due to a hard local control (see IEEE 488.2,
5.6.1.5). For example, a device with a rotary switch receives a
message which would change the switch’s state, but the device
is in local so the message cannot be executed.