beautypg.com

Remote control commands and queries, Status – Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual

Page 97

background image

Remote Control Commands and Queries

WM-RCM-E Rev D

ISSUED: February 2005

91

STATUS

ALL_STATUS?, ALST?

Query

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,

,ESR,,INR,,

DDR,

,CMR,,EXR,,URR,

: = 0 to 65535

EXAMPLE (GPIB)

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?