Programming Guide
Digital Oscilloscopes Series
30
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 <mode>
<mode> : = {SHORT, LONG, OFF}
QUERY SYNTAX
Comm_HeaDeR?
RESPONSE FORMAT
Comm_HeaDeR <mode>
EXAMPLE
The following code sets the response header format
to SHORT:
Command message:
CHDR SHORT