![background image](http://html2.mh-extra.com/html/racal-instruments/1257/1257_manual_3121580093.webp)
1257 User Manual
SCPI Command Basics 5-2
EADS North America Defense
Test and Services, Inc.
©
2001
To illustrate the SCPI notation, a part of the ROUTE command
subsystem is shown below:
[:ROUTe]
:CLOSe <channel list>
:OPEN <channel list>
:ALL
ROUTE is the root keyword of the command. This keyword is
optional, since it is shown enclosed in square brackets. CLOSE
and OPEN are the next level keywords. The “ALL” keyword is
below the OPEN keyword in this command tree.
The colon (:) is used to separate keywords from different levels on
the command tree. Each keyword is separated from the next by a
single colon.
The SCPI commands which may be formed by this tree are shown
below (a <channel list> of (@1(0)) is used in these examples):
ROUTE:CLOSE (@1(0))
CLOSE
(@1(0))
ROUTE:CLOSE?
(@1(0))
CLOSE?
(@1(0))
ROUTE:OPEN
(@1(0))
OPEN
(@1(0))
ROUTE:OPEN?
(@1(0))
OPEN?
(@1(0))
ROUTE:OPEN:ALL
OPEN:ALL
Note that the optional ROUTE keyword is omitted in many of the
examples.