
89
Chapter 4 Features and Functions
SCPI Language Conventions
4
SCPI Language Conventions
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.
• Triangle brackets ( < > ) separate parameters for which you must
substitute a value
• A vertical bar (| ) separates multiple parameter choices.
Rules for Using a Channel List
Many of the SCPI commands for the 34970A/34972A include a
scan_list
or
ch_list
parameter, which allow you to specify one or more channels.
The channel number has a form (
@
scc
), where
s
is the slot number (100,
200, or 300) and
cc
is the channel number. You can specify a single
channel, multiple channels, or a range of channels as shown below.
• The following command configures a scan list to include only channel
10 on the module in slot 300.
ROUT:SCAN (@310)
• The following command configures a scan list to include multiple
channels on the module in slot 200. The scan list now contains only
channels 10, 12, and 15
(the scan list is redefined each time you send a
new
ROUTe:SCAN
command
).
ROUT:SCAN (@210,212,215)
• The following command configures a scan list to include 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 range must be valid. The scan list now contains
channels 5 through 10 (slot 100) and channel 15 (slot 200).
ROUT:SCAN (@105:110,215)
34970A Refresh UG.book Page 89 Wednesday, February 17, 2010 12:34 PM
Summary of Contents for 34970A
Page 16: ...16 34970A Refresh UG book Page 16 Wednesday February 17 2010 12 34 PM ...
Page 20: ...34970A Refresh UG book Page 20 Wednesday February 17 2010 12 34 PM ...
Page 21: ...1 1 Quick Start 34970A Refresh UG book Page 21 Wednesday February 17 2010 12 34 PM ...
Page 39: ...2 2 Front Panel Overview 34970A Refresh UG book Page 39 Wednesday February 17 2010 12 34 PM ...
Page 59: ...3 3 System Overview 34970A Refresh UG book Page 59 Wednesday February 17 2010 12 34 PM ...
Page 87: ...4 4 Features and Functions 34970A Refresh UG book Page 87 Wednesday February 17 2010 12 34 PM ...
Page 217: ...5 5 Error Messages 34970A Refresh UG book Page 217 Wednesday February 17 2010 12 34 PM ...
Page 241: ...6 6 Application Programs 34970A Refresh UG book Page 241 Wednesday February 17 2010 12 34 PM ...
Page 254: ...254 34970A Refresh UG book Page 254 Wednesday February 17 2010 12 34 PM ...
Page 255: ...7 7 Tutorial 34970A Refresh UG book Page 255 Wednesday February 17 2010 12 34 PM ...
Page 324: ...324 34970A Refresh UG book Page 324 Wednesday February 17 2010 12 34 PM ...