![background image](http://html2.mh-extra.com/html/racal-instruments/1257/1257_manual_3121580141.webp)
1257 User Manual
Advanced SCPI Operations 7-2
EADS North America Defense
Test and Services, Inc.
©
2001
Include Lists
The 1257 provides the capability to define sets of relays which
operate together. This feature is called an “include list”. When a
relay on an include list is closed, all relays on that include list are
closed. Likewise, when a relay on an include list is opened, all
relays on that include list are opened.
A channel may reside on at most one include list. An attempt to
place a relay on a second include list results in an error. The error
is placed on the error queue and may be read using the
SYSTEM:ERROR? query.
The syntax for defining an include list is shown below:
[:ROUTe]
:INCLude
<channel
list>
:INCLude? [ <channel list> ]
:DELete
<channel
list>
:ALL
The following examples illustrate the use of this command to
define include lists:
INCLUDE (@1(5,15))
CLOSE
(@1(5))
This first command places two relays on the include list. Channels
5 and 15 of the 1257 drawer are placed in an include list. The
second command closes channels 5 AND 15 in the drawer.
INCLUDE (@1(12),1(0))
OPEN
(@1(0))
The first command places channels 0 and 12 in the drawer in an
include list. The second command opens both channel 12 and
channel 0.
The include list relationship for a particular channel, or multiple
channels, may be removed by using the INCLUDE:DELETE
command. The following examples illustrate the use of the
INCLUDE:DELETE command:
INCLUDE (@1(0:4))
INCLUDE:DELETE
(@1(2))