Commands & queries – B&K Precision 2552-2559 - Programming Manual User Manual
Page 11

11
Commands & Queries
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 ALL_STATUS? Query is useful in a complete
overview of the state of the instrument.
QUERY SYNTAX
ALl_STatus?
RESPONSE FORMAT
ALl_STatus
STB,<value>,ESR,<value>,INR,<value>,DDR,<valu
e>,CMR,<value>,EXR,<value>,URR,<value>
<value> : = 0 to 65535
EXAMPLE
The following instruction reads the contents of all the
status registers:
Command message:
ALST?
Response message:
ALST STB, 0, ESR, 52, INR, 5, DDR, 0, CMR, 4,
EXR, 24, URR, 0
RELATED COMMANDS
*CLS, CMR? , DDR? ,*ESR? , EXR? , *STB? , URR?
STATUS
ALL_STATUS?, ALST?
Query