prog.book : ch15ieee.fm 20 Mon Feb 15 09:24:37 1999
IEEE488.2 Command Reference
*STB?
15-20 HP E4418B/E4419B Programming Guide
*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 15-6 shows
the contents of this register. Refer to the pullout at the end of chapter 1 for
further information.
Table 15-6: *STB? Mapping
Bit Weight Meaning
0 1 Not used
1 2 Device Dependent
0 - No device status conditions have occurred
1 - A device status condition has occurred
2 4 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