System Commands 5
STATUS
DESCRIPTION
QUERY SYNTAX
Response format
EXAMPLE (GPIB)
RELATED COMMANDS
ALL_STATUS?, ALST?
Query
The ALL_STATUS? query reads and clears the contents of all
status registers: STB, ESR, INR, DDR, CMR, EXR, and URR ex-
cept the MAV bit (bit 6) of the STB register. For an interpretation
of the contents of each register, refer to the appropriate status
register.
The ALL_STATUS? query is useful if a complete overview of the
state of the instrument is required.
ALl_STatus?
ALl STatus STB,<value>,ESR,<value>,INR,<value>,
DDl~,<value>, CMR<value>, EXR,<value>,URR,<value>
<value> := 0 to 65535
The following instruction reads the contents of all the status regis-
ters.
CMD$="ALST?": CALL IBWRT(SCOPE%,CMD$)
CALL IBRD(SCOPE%,RSP$): PRINT RSP$
Response message
ALST STB,000000,ESR,000052,INR,000005,DDR,000000,
EXR,000024,CMR,000004,URR,000000
*CLS, CMR?, DDR?, *ESR?, EXR?, *STB?, URR?
39