![background image](http://html1.mh-extra.com/html/racal-instruments/1256e/1256e_manual_3132597131.webp)
1256E User Manual
Racal Instruments
©
2002
SCPI Command Basics 5-35
The <close channel list> and the optional <open channel list>
follows the syntax rules described in the “
Specifying Relays in
Commands
” section of this chapter.
The following examples illustrate the use of a path name.
This associates the name path1 with the close channel list
encompassing relays 6 through 9 on plug-in module 8 and relay 77
on plug-in module 4:
PATH:DEF
path1,(@8(6:9),4(77))
This associates the name dmm_to_P177 with the close channel
list, channels 205 and 305, on the module whose name is defined
as “matrix”:
PATH:DEF dmm_to_P177,(@matrix(305,205))
This associates the name oscope1 with a close channel list for
channels 0 and 3 on plug-in module 3 and an open channel list for
plug-in module 5, channel 15.
PATH:DEF oscope,(@3(0,3)),(@5(15))
Once a path name is defined, it may be used in a CLOSE or OPEN
command:
OPEN (@path1)
CLOSE
(@dmm_to_P177)
CLOSE
(@path1,dmm_to_P177,7(0:10))
A CLOSE command, for a given pathname, will effectively close all
channels listed on the close channel list and open those listed on
the open channel list.
An OPEN command, for a given pathname, will open all channels
listed on the close channel list. Channels on the open channel list
are ignored when using this command.
Path names may also be used in defining an “Include List”, an
“Exclude List”, or a “Scan List”. The following sections describe
each of these concepts.
When using path names with the “Include List”, “Exclude List” and
“Scan List”, the presently defined path is used. That is, if the
following sequence of commands is received:
PATH:DEF PATH1,(@5(0),7(0))
INCLUDE
(@PATH1,1(0))
PATH:DEF
PATH1,(@6(17),8(23))
CLOSE
(@1(0))