Programming instructions

Table Of Contents
Command Reference
SCPI Basics
Chapter 4 141
Table 4-2 Command Syntax
Characters, Keywords, and Syntax Example
Upper-case lettering indicates the minimum set of
characters required for the command.
[:SOURce]:FREQuency[:CW]?,
FREQ is the minimum requirement.
Lower-case lettering indicates the portion of the
command that is optional; it can either be included
with the upper-case portion of the command or
omitted. This is the flexible format principle called
forgiving listening. Refer to “Command Parameters
and Responses” on page 144 for more information.
:FREQuency
Either :FREQ , :FREQuency, or
:FREQUENCY is correct.
When a colon is placed between two command
mnemonics, it moves the current path down one level
in the command tree. Refer to “Command Tree” on
page 143 more information on command paths.
:TRIGger:OUTPut:POLarity?
TRIGger is the root level keyword
for this command.
If a command requires more than one parameter, you
must separate adjacent parameters using a comma.
Parameters are not part of the command path, so
commas do not affect the path level.
[:SOURce]:LIST:
DWELl <val>,{<val>}
A semicolon separates two commands in the same
program message without changing the current path.
:FREQ 2.5GHZ;:POW 10DBM
White space characters, such as <tab> and <space>,
are generally ignored as long as they do not occur
within or between keywords.
However, you must use white space to separate the
command from the parameter. White space does not
affect the current path.
:FREQ uency or :POWer :LEVel
are not allowed.
A <space> between :LEVel and
6.2 is mandatory.
:POWer:LEVel 6.2