*ESR?
Syntax
*ESR?
Description
This query returns the event register contents for the Standard Event Register group. This is a read-only
register and the bits are not cleared when you read the register.
For more information on the SCPI Status System, see Status System Introduction.
Remarks
l The following table lists the bit definitions for the Standard Event Register.
Bit
Number
Bit Name Decimal
Value
Definition
0 Operation Complete 1 All commands prior to and including *OPC have been
executed.
1 Not Used 2 (Reserved for future use)
2 Query Error 4 The instrument tried to read the output buffer but it
was empty. Or, a new command line was received
before a previous query has been read. Or, both the
input and output buffers are full.
3 Device-Specific Error 8 A device-specific error, including a self-test error or
calibration error, occurred (an error in the -300 range
or any positive error has been generated). For a com-
plete listing of the error messages, see SCPI Error
Messages.
4 Execution Error 16 An execution error occurred (an error in the -200
range has been generated).
5 Command Error 32 A command syntax error occurred (an error in the -
100 range has been generated).
6 Not Used 64 (Reserved for future use)
7 Power On 128 Power has been turned off and on since the last time
the event register was read or cleared.
l In order to be reported to the Standard Event Register, the corresponding bits in the event register
must be enabled using the *ESE command.
l Once a bit is set, it remains set until cleared by reading the event register or the *CLS (clear status) com-
mand.
*ESR?
184 Keysight 53220A/53230A Programmer's Reference