Remote control commands and queries, Communication – Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual
Page 115
Remote Control Commands and Queries
WM-RCM-E Rev D
ISSUED: February 2005
109
COMMUNICATION
COMM_HEADER, CHDR
Command/Query
DESCRIPTION
The COMM_HEADER command controls the way the oscilloscope
formats responses to queries. There are three response formats:
LONG, in which responses start with the long form of the header
word; SHORT, where responses start with the short form of the
header word; and OFF, for which headers are omitted from the
response and units in numbers are suppressed.
Unless you request otherwise, the SHORT response format is used.
¾ This command does not affect the interpretation of messages
sent to the oscilloscope. Headers can be sent in their long or
short form regardless of the COMM_HEADER setting.
¾ Querying the vertical sensitivity of Channel 1 may result in one
of the following responses:
COMM_HEADER RESPONSE
LONG
C1:VOLT_DIV 200E-3 V
SHORT
C1:VDIV 200E-3 V
OFF 200E-3
COMMAND SYNTAX
Comm_HeaDeR
QUERY SYNTAX
Comm_HeaDeR?
RESPONSE FORMAT
Comm_HeaDeR
EXAMPLE (GPIB)
The following code sets the response header format to SHORT:
CMD$=“CHDR SHORT”: CALL IBWRT(SCOPE%,CMD$)
RELATED COMMANDS
COMM_HELP_LOG