You Are Here:
You are here: SCPI Guide > Command Reference > Common Commands > *STB?

*STB?

Status Byte Query

Reads out the value of the Status Byte. Bit 6 reports the Master Summary Status bit (MSS), not the Request Service (RQS). The MSS is set if the instrument has one or more reasons for requesting service.

Returned format

<Integer> = the sum (between 0 and 255) of all bits that are true.

Status byte Register (1 = true)
Bit Weight Name Condition
7 128 OPR Enabled operation status has occurred.
6 64 MSS Reason for requesting service.
5 32 ESB Enabled status event condition has occurred
4 16 MAV An output message is ready
3 8 QUE The quality of the output signal is questionable
2 4 EAV Error available
1 2   Not used
0 1   Not used