13 IEEE-488.2 Common Commands
124 Keysight U2722A/U2723A Programmer’s Reference
*STB?
Syntax
*STB?
Queries the condition register for the Status Byte register group. This query
command is similar to a Serial Poll but it is processed like any other instrument
command. This is a read-only register and the bits will not be cleared once they
are read.
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 once you execute the *SRE 0
command.
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).