IEEE 488.2 Command Reference 17
Keysight N8262A Programming Guide 667
*STB?
The *STB? (STatus Byte) query returns bit 0 to 5 and bit 7 of the power meter’s
status byte and returns the Master Summary Status (MSS) as bit 6. The MSS is
the inclusive OR of the bitwise combination (excluding bit 6) of the Status Byte
and the Service Request Enable registers. The format of the return is <NR1> in the
ranges of 0 to 255. Table 17-4 shows the contents of this register. Refer to the
Status Block Diagram at the end of Chapter 11 for further information.
Table 17-4 *STB? Mapping
Bit Weight Meaning
01 Not used
1 2 Device Dependent
0 - No device status conditions have occurred
1 - A device status condition has occurred
24 Error/Event Queue
0 - Queue empty
1 - Queue not empty
3 8 Questionable Status Summary
0 - No QUEStionable status conditions have occurred
1 - A QUEStionable status condition has occurred
4 16 Message Available
0 - no output messages are ready
1 - an output message is ready
5 32 Event Status Bit
0 - no event status conditions have occurred
1 - an event status condition has occurred
6 64 Master Summary Status
0 - power meter not requesting service
1 - there is at least one reason for requesting service
7 128 Operation Status Summary
0 - No OPERation status conditions have occurred
1 - An OPERation status condition has occurred