Chapter 4 Features and Functions

SCPI Language Conventions

SCPI Language Conventions

Throughout this manual, the following conventions are used for SCPI command syntax for remote interface programming:

Square brackets ( v y ) indicate optional keywords or parameters.

∙ Braces ( ) enclose parameter choices within a command string.

Triangle brackets ( P R ) enclose parameters for which you must substitute a value.

A vertical bar ( ) separates multiple parameter choices.

m p

Many of the SCPI commands for the HP 34970A include a tr”

4

or v“r” parameter which allow you to specify one or more channels.

The channel number has the form (@ ), where is the slot number (100, 200, or 300) and 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 ( t xwxy”xw xtv“ xw

t x ROUTe:SCAN v

).

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 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)

73

Page 72
Image 72
HP 34970A manual Scpi Language Conventions