4 Agilent N5181A/82A MXG Signal Generators SCPI Command Reference
SCPI Basics
SCPI Basics
Additional conventions in syntax statements are shown in Table 1- 1 and Table 1- 2.
Table 1-1 Special Characters in Command Syntax
Characters Meaning Example
| A vertical stroke between keywords or parameters
indicates alterative choices. For parameters, the effect
of the command varies depending on the choice.
[:SOURce]:AM:
MOD DEEP|NORMal
DEEP or NORMal are the choices.
[ ] Square brackets indicate that the enclosed keywords or
parameters are optional when composing the command.
These implied keywords or parameters will be executed
even if they are omitted.
[:SOURce]:FREQuency[:CW]?
SOURce and CW are optional items.
< > Angle brackets around a word (or words) indicate they
are not to be used literally in the command. They
represent the needed item.
[:SOURce]:FREQuency:
STARt <value><unit>
In this command, the words <value>
and <unit> should be replaced by
the actual frequency and unit.
:FREQuency:STARt 2.5GHz
{ } Braces indicate that parameters can optionally be used
in the command once, several times, or not at all.
[:SOURce]:LIST:
POWer <value>{,<value>}
a single power listing:
LIST:POWer 5
a series of power listings:
LIST:POWer 5,10,15,20
Table 1-2 Command Syntax
Characters, Keywords, and Syntax Example
Upper- case lettering indicates the minimum set of characters
required to execute the command. But, each mode of the
command must be in either short form or the complete long
form (no in between). Example:
Correct:
:FREQ
:FREQuency
Incorrect:
:FREQuenc
[:SOURce]:FREQuency[:CW]?,
FREQ is the minimum requirement.