User manual

Table Of Contents
Part 6: IEEE 488.2 Command Reference
STATUS Commands and Queries
ALL_STATUS?, ALST?
Description
The ALL_STATUS? query reads and clears the contents of all status registers: STB, ESR, INR, DDR, CMR,
EXR and URR except for 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 query is useful to obtain a complete overview of the state of your oscilloscope.
Query Syntax
ALL_STATUS?
Response Format
ALL_STATUS STB,<n>,ESR,<n>,INR,<n>,DDR,<n>,CMR,<n>,EXR,<n>,URR,<n>
<n> : = 0 to 65535
Example
The following instruction reads the contents of all the status registers:
CMD$="ALST?": CALL IBWRT(SCOPE%,CMD$):
CALL IBRD(SCOPE%,RSP$): PRINT RSP$
Response message:
ALST F2,000000,ESR,000052,INR,000005,DDR,000000,CMR,000004,EXR,000024,URR,000000
Related Commands
*CLS, CMR?, DDR?, *ESR?, EXR?, *STB?, URR?
6-125