Racal Instruments 1256E Manual page 170

Switching system
Table of Contents

Advertisement

Advanced SCPI Operations 8-6
following definitions result in an error:
INCLUDE:DEF (@1(0:10))
EXCLUDE:DEF (@1(0,11:15,6))
The error occurs because channels 1(0) and 1(6) are on an
include list together and they are on an exclude list together. This
creates a conflict since an attempt to close channel 1(0) would
attempt to close channel 1(6) due to the include list association,
but would be prevented from doing so by the exclude list.
The syntax for defining an exclude list is shown below:
[:ROUTe]
:EXCLude <channel list>
:EXCLude? [ <channel list> ]
The following examples illustrate the use of this command to
define exclude lists:
EXCLUDE (@1(0:19),2(0:19))
CLOSE (@1(0))
CLOSE (@2(11))
CLOSE (@1(15,17))
The first command establishes an exclude list of channels 0
through 19 on module 1 and channels 0 through 19 on module 2.
The second command closes channel 0 on module 1.
The third command closes channel 11 on module 2. This
command will cause channel 0 on module 1 to open, since both
channels are on the exclude group together.
The fourth command closes channel 17 on module 2. Channel 15
is never closed, since it is excluded by channel 17. Channel 11 on
module 2 is opened prior to closing channel 17, since channels 11
and 17 are on the exclude group together.
The INCLUDE and EXCLUDE relationships of channels can cause
multiple closures and openings when commanding a single
channel to close. For example, assume the following commands
have been executed:
INCLUDE (@1(0:5,10,12))
INCLUDE (@1(13:19))
EXCLUDE (@1(0,13)
:DELete <channel list>
:ALL
Racal Instruments © 2002
1256E User Manual

Advertisement

Table of Contents
loading

Table of Contents