beautypg.com

Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual

Page 110

background image

P

A R T

T

W O

:

C O M M A N D S

104

ISSUED: February 2005

WM-RCM-E Rev D

STATUS

CMR?

Query

DESCRIPTION

The CMR? query reads and clears the contents of the CoMmand error
Register (see table next page) which specifies the last syntax error type

detected by your oscilloscope.

QUERY SYNTAX

CMR?

RESPONSE FORMAT

CMR

: = 0 to 13

EXAMPLE (GPIB)

The following instruction reads the contents of the CMR register:

CMD$=“CMR?”: CALL IBWRT(SCOPE%,CMD$):

CALL IBRD(SCOPE%,RSP$): PRINT RSP$

RELATED COMMANDS

ALL_STATUS?, *CLS