4-4
IM 760101-11E
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
:HARMonics:STATe ON<PMT>:
HARMonics:OBJect SIGMA<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
:HARMonics?<PMT> -> :HARMONICS:
STATE 1;OBJECT SIGMA;
PLLSOURCE U1;ORDER 1,100;
THD TOTAL;WIDTH 8192<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
Содержание wt1600
Страница 1: ...Digital Power Meter Communication Interface IM 760101 11E 4th Edition ...
Страница 131: ...7 2 IM 760101 11E 7 2 Sample Program Image ...
Страница 138: ...Sample Program 7 9 IM 760101 11E 7 7 4 Output of Normal Measurement Data ...
Страница 142: ...Sample Program 7 13 IM 760101 11E 7 7 5 Output of Harmonic Measurement Data ...