
4-4
IM 760151-17E
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
:DISPlay:IMPedance:
TYPE ZR_ZI<PMT>:DISPlay:
IMPedance:OBJect 5<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
:DISPlay[:NUMeric]:
IMPedance?<PMT> ->
:DISPLAY:NUMERIC:IMPEDANCE:
TYPE ZR_ZI;OBJECT 5;
ICURSOR 1<RMT>
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 set-up data which is not currently
in use. Note that not all a group’s information will
necessarily be sent out as a response.
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 lower-case 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 “
ELEMent<x>
” is written as “
ELEM
”, this
represents “
ELEMent1
”.
• Any part of a command enclosed by
[]
can be
omitted.
Example
“
[:INPut]:SCALing[:STATe] ON
” can be
written as
“
SCALing ON
”.
• However, a part enclosed by
[]
cannot be omitted if
is located at the end of an upper-level query.
Example
“
SCALing?
” and “
SCALing:STATe?
” belong to
different upper-level query levels.
4.2 Commands