13 IEEE-488.2 Common Commands
122 Keysight U2722A/U2723A Programmer’s Reference
Remarks
– The following table lists the bit definitions for the Status Byte register.
–Use the <enable_value> parameter to specify which bits will be enabled. The
specified decimal value corresponds to the binary-weighted sum of the bits
you wish to enable in the register. For example, to enable bit 3 (decimal
value = 8) and bit 6 (decimal value = 64), the corresponding decimal value
would be 72 (8 + 64).
– The Status Byte Enable register will be cleared when you execute the *SRE 0
command.
Returned Query Format
<NR1>
The query command reads the enable register and returns a decimal value that
corresponds to the binary-weighted sum of all bits set in the register.
For example, if bit 3 (decimal value = 8) and bit 7 (decimal value = 128) are
enabled, the query command will return “+136”.
Bit number Decimal value Definition
0 Not Used 1 Always zero.
1 Not Used 2 Always zero.
2 Error Queue 4 There is at least one error code in the error queue.
3 Questionable Status Event 8 One or more bits are set in the Questionable Event register (bits must be
enabled in the enable register).
4 Message Available 16 Data is available in the instrument's output buffer.
5 Event Status Byte summary 32 One or more bits are set in the Standard Event register (bits must be
enabled in the enable register).
6 Master Status summary
(Request for Service)
64 One or more bits are set in the Status Byte register (bits must be enabled
in the enable register). Also used to indicate a request for service.
7 Operation Status Event 128 One or more bits are set in the Operation Event register (bits must be
enabled in the enable register).