User manual

Table Of Contents
MAUI Oscilloscopes Remote Control and Automation Manual
COMM_HEADER, CHDR
Description
The COMM_HEADER command controls the way the oscilloscope formats responses to queries. There
are three response formats; unless you request otherwise, the short response format is used.
This command does not affect the interpretation of messages sent to the oscilloscope, only responses to
queries. Headers can be sent in long or short form regardless of the COMM_HEADER setting.
Command Syntax
COMM_HEADER <mode>
<mode>:= {SHORT, LONG, OFF}
Format Example Response
LONG
Responses start with the long form of the header word
C1:VOLT_DIV 200E-3 V
SHORT
Responses start with the short form of the header word
C1:VDIV 200E-3 V
OFF
Headers are omitted from the response and units are suppressed
200E-3
Query Syntax
COMM_HEADER?
Response Format
COMM_HEADER <mode>
Example (GPIB)
The following code sets the response header format to LONG:
CMD$="CHDR LONG": CALL IBWRT(SCOPE%,CMD$)
Related Commands
COMM_HELP_LOG
6-46