“STB
*STB
(Status Byte)
query
The *STB query returns the current value of the instrument’s status byte.
The MSS (Master Summary Status) bit and not RQS (Request Service)
bit is reported on bit 6. The MSS indicates whether or not the device has
at least one reason for requesting service. Refer to table 5-4 for the
meaning of the bits in the status byte.
l
’
Note
@
Refer to Appendix B for a complete discussion of status.
Query Syntax:
l
STi3?
Returned Format:
<value
>
c
NL>
where:
<value>
:: = integer from 0 to 255
Example:
10 DIM Stb-value$[lOO]
20 OUTPUT XXX;"*STB?"
30 ENTER XXX;Stb-value$
40 PRINT Stb-value$
50
END
HP
1650B/HP
16618
Programming Reference
Common Commands
5-13