8 Instrument Status
282 Keysight 53220A/53230A User’s Guide
Enabling the Standard Event Register
The Standard Event Enable register specifies which bits in the Standard Event
Status register can generate a summary bit which is subsequently used to
generate a service request.
Bits within the standard event register are enabled with the command:
*ESE <enable>
*ESE? (query form)
– enable: decimal value corresponding to the binary-weighted sum of the bits
in the register. For example, to enable the bit monitoring command syntax
errors: *ESE 32.
*ESE? returns the weighted-sum of all enabled bits.
Status Byte Register
The Status Byte register contains the summary bits of the Questionable Data
Register Group, the Standard Operation Register Group, the Standard Event
Register, the counter error queue, and the output buffer (Figure 8-1).
The Master Summary RQS bit (Bit 6) is set (1) when any other bit in the Status
Byte register is set.
Reading the Status Byte Register
The Status Byte register is read with either of the following commands:
*STB?
SPOLL
Both commands return the decimal weighted sum of all set bits in the register.
The difference between the commands is that *STB? does not clear bit 6 (RQS).
The serial poll (SPOLL) does clear bit 6.
All bits in the Status Byte register (except bit 4) are cleared with the command:
*CLS
Bit 4 is cleared when data is read from the output buffer.