Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual
Page 230

P
A R T
T
W O
:
C O M M A N D S
224
ISSUED: February 2005
WM-RCM-E Rev D
STATUS
*STB?
Query
DESCRIPTION
The *STB? query reads the contents of the 488.1 defined STatus
Byte register (STB), and the 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. Refer to the table on page 225 for
further details of the status register structure.
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