1257 User Manual
SCPI Command Basics 5-32
EADS North America Defense
Test and Services, Inc.
©
2001
Defining Path Names
The PATH:DEFINE command may be used to associate a name
with one or more relays. The format for this command is:
[:ROUTe]
:PATH
:DEFine
<path
name>
,
<close
channel
list>
,
[,<open
channel
list>]
The <path name> follows the same name requirements as a
<module name>, as described in the previous paragraphs.
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 and relay 77 on plug-in drawer:
PATH:DEF
path1,(@1(6:9),1(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 and an open channel list for channel 15.
PATH:DEF oscope,(@1(0,3)),(@1(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,1(100:110))
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.
Summary of Contents for 1257
Page 6: ......