9 Programming the Instrument
9.4 Status Register System & STATus Subsystem
Bit Description
0 A 1 in this bit position indicates that all pending operations were completed following
execution of the *OPC command
1 For GPIB handshaking to request control. Currently it is set to 0, because there are no
implementations where the spectrum analyzer controls another instrument
2 A 1 in this bit position indicates that a query error has occurred. Query errors have SCPI
error numbers from -499 to -400
3 A 1 in this bit position indicates that a device dependent error has occurred. Device
dependent errors have SCPI error numbers from -399 to -300 and 1 to 32767
4 A 1 in this bit position indicates that an execution error has occurred. Execution errors have
SCPI error numbers from -299 to -200
5 A 1 in this bit position indicates that a command error has occurred. Command errors have
SCPI error numbers from -199 to -100
6 A 1 in this bit position indicates that the LOCAL key has been pressed. This is true even if
the instrument is in local lockout mode
7 A 1 in this bit position indicates that the instrument has been turned off and then on
The Standard Event Status Register is used to determine the specific events that set
bit 5 in the "Status Byte Register" on page 2459. To query this register, send *ESR?.
The response will be the decimal sum of the bits that are enabled (set to 1). For
example, if bit number 7 and bit number 3 are enabled, the decimal sum of the 2 bits
is 128 plus 8, so the decimal value 136 is returned. See also "*ESR? - Standard
Event Status Register Query" on page 2424
Standard Event Status Enable Register
In addition to the "Standard Event Status Register" on page 2463, the Standard
Event status group also contains a Standard Event Status Enable Register. This
Short Range Comms & IoT Mode User's &Programmer's Reference 2464