115
Chapter 5 Remote Interface Reference
SCPI Command Syntax
4
5
SCPI Command Syntax
Throughout this manual, the following conventions are used for SCPI
command syntax for remote interface programming.
•
Square brackets ([ ]) indicate optional keywords or parameters.
•
Braces ({ }) enclose parameter choices within a command string.
•
Angle brackets (< >) enclose parameters for which you must specify a
value.
•
A vertical bar ( | ) separates multiple parameters.
Rules for Using a Channel or Scan List
Many of the SCPI commands include a channel list or scan list
parameter which allows you to specify one or more channels. The
channel number has the form (@snn), where s is the slot number and nn
is the channel number. You can specify a slot, a single channel, multiple
channels, or a range of channels as described below.
•
The following command closes a single channel (channel 11) on the
module installed in slot 1:
ROUT:CLOS (@111)
•
The following command closes multiple channels on modules in slots
1 and 2:
ROUT:CLOS (@111,112,203,204)
•
The following command closes a range of channels. When you specify
a range of channels, the range may contain invalid channels (they are
ignored), but the first and last channel in the list must be valid.
ROUT:CLOS (@101:111)
•
Additional information about channel and slot numbering is given on
page 70.