
18
SCPI Programming Fundamentals
SCPI Language Basics
|
A vertical stroke between
keywords
indicates identical effects exist for
both keywords. The command
functions the same for either
keyword. Only one of these keywords
is used at a time.
Command:
SENSe:BANDwidth|BWIDth:OFFSet
Two identical commands are:
Ex1:
SENSE:BWIDTH:OFFSET
Ex2:
SENSE:BAND:OFFSET
[ ]
keywords in square brackets are
optional when composing the
command. These implied keywords
will be executed even if they are
omitted.
Command:
[SENSe:]BANDwidth[:RESolution]:AUT
O
The following commands are all valid and have
identical effects:
Ex1:
bandwidth:auto
Ex2:
band:resolution:auto
Ex3:
sense:bandwidth:auto
< >
Angle brackets around a word, or
words, indicates they are not to be
used literally in the command. They
represent the needed item.
Command:
SENS:FREQ <freq>
In this command example the word <freq>
should be replaced by an actual frequency.
Ex:
SENS:FREQ 9.7MHz
.
{ }
Parameters in braces can optionally
be used in the command either not at
all, once, or several times.
Command:
MEASure:BW <freq>{,level}
A valid command is:
meas:BW 6 MHz, 3dB, 60dB
Special
Character
Meaning
Example