Status Byte Register
Last updated: December 3, 2008
*STB?
The Status Byte Register can also be read with a serial poll. For example, the command "Status_byte = SPOLL(714)" would perform a serial poll of the Status Byte Register, returning and releasing RQS (bit 6).
Status Byte Register Bit Assignments
Note that only certain bit numbers in the Status Byte Register are applicable to GPRS as indicated in the "Description" column in the table below.
Bit Number
|
Binary Weighting
|
Label |
Description
|
7
|
128
|
STATus: OPERation |
Summarizes the STATus: OPERation Status Register, which fans out to the NMRReady and CALL Status Registers.
|
6
|
64
|
RQS (SRQ TRUE?)/Master Summary Status |
RQS is read by a serial poll (SPOLL).
Master Summary Status is read by a *STB? query - defined by IEEE 488.2
|
5
|
32
|
Standard Event Status Register |
Summarizes the Standard Event Status Register |
4
|
16
|
Message Available |
SCPI - Defined |
3
|
8
|
STATus: QUEStionableStatus Register |
Summary Message comes from the STATus: QUEStionable Status Register, which fans out to the CALL and HARDware Status Registers.
|
2
|
4
|
Error/ Event Queue |
SCPI - Defined |
1
|
2
|
Reserved |
|
0
|
1
|
Reserved |
|
Program Example - Status Byte Register Bit Assignments
OUTPUT 714;"*STB?" !Queries the Status Byte.