4-4
IM 701730-17E
Header Interpretation Rules
This instrument interprets the header received
according to the following rules.
• Mnemonics are not case sensitive.
Example
"CURSor"
can also be written as
"cursor"
or
"Cursor."
• The lowercase part of a header can be omitted.
Example
"CURSor"
can also be written as
"CURSO"
or
"CURS."
• If the header ends with a question mark, the
command is a query. It is not possible to omit the
question mark.
Example
"CURSor?"
cannot be abbreviated to
anything shorter than
"CURS?."
• If the
"x"
at the end of a mnemonic is omitted, it is
assumed to be
"1."
Example If
"CHANnel<x>"
is written as
"CHAN,"
this represents
"CHANnel1."
• Any part of a command enclosed by [ ] can be
omitted.
Example
"TRIGger[:SIMPLle]:LEVel"
can be
written as
"TRIG:LEV."
However, a part enclosed by [ ] cannot be omitted if
it is located at the end of an upper-level query.
Example
"TRIGger?"
and
"TRIGger:SIMPle?"
belong to different upper-level query
levels.
When Separating Commands with <PMT>
If a terminator is used to separate two commands,
each command is a separate message. Therefore, the
common header must be typed in for each command
even when commands of the same command group
are being concatenated.
Example
:ACQuire:MODE NORMal<PMT>:
ACQuire:COUNt 1<PMT>
Upper-level Query
An upper-level query is a compound header to which a
question mark is appended. Execution of an upper-
level query allows all a group’s settings to be output at
once. Some query groups comprising more than three
hierarchical levels can output all their lower level
settings.
Example
:CHANnel1?<PMT>
-> :CHANNEL1:
DISPLAY ON;LABEL "CH1 ";
COUPLING DC;POSITION 0.00;
PROBE 10;VDIV 50.0E+00;
BWIDTH FULL;OFFSET 0.0E+00;
LSCALE:MODE 0
In reply to a query, a response can be returned as a
program message to this instrument. Transmitting a
response can restore the settings made when the
query was executed. However, some upper-level
queries will not return setup data which is not currently
in use. Note that not all a group’s information will
necessarily be sent out as a response.
4.2 Commands