Keysight B2961A/B2962A SCPI Command Reference, Edition 6 3- 15
Common Commands
*STB?
*STB?
This query reads the Status Byte register, which contains the status summary bits
and the Output Queue MAV bit. The Status Byte register is a read-only register and
the bits are not cleared when it is read. For the SCPI status system, see
“Status
System Diagram” on page 1-17.
Syntax *STB?
Query response register <newline><^END>
register is the binary-weighted sum of all bits set in the register. For example, if bit 1
(decimal value = 2) and bit 4 (decimal value = 16) are set (and the corresponding
bits are enabled), this command will return 18. Response data type is NR1.
Remarks Bit definitions of the Status Byte register are shown in Table 3-3.
The input summary bits are cleared when the appropriate event registers are read.
The MAV bit is cleared at power-on, by
*CLS, or when there is no more response
data available.
A serial poll also returns the value of the Status Byte register, except that bit 6
returns Request for Service (RQS) instead of Master Status Summary (MSS). A
serial poll clears RQS, but not MSS. When MSS is set, it indicates that the
instrument has one or more reasons for requesting service.