User manual

Table Of Contents
Part 6: IEEE 488.2 Command Reference
*STB?
Description
The *STB? query reads the contents of the 488.1 defined Status Byte Register (STB) and Master
Summary Status (MSS). The response represents the values of bits 0 to 5 and 7 of the STB register and
the MSS summary message.
The response to a *STB? query is identical to the response of a serial poll except that the MSS summary
message appears in bit 6 in place of the RQS message.
Query Syntax
*STB?
Response Format
*STB? <value>
<value>:= 0 to 255
Example (GPIB)
The following instruction reads the Status Byte Register:
CMD$="*STB?": CALL IBWRT(SCOPE%,CMD$):
CALL IBRD(SCOPE%,RSP$): PRINT RSP$
Response message:
*STB 0
Related Commands
ALL_STATUS, *CLS, *PRE, *SRE
6-141