Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-20
Document Number: 3700S-901-01 Rev. A / August 2007
channel.close
Also see
channel.exclusiveclose
(on page 9-21)
channel.exclusiveslotclose
(on page 9-23)
channel.open
(on page 9-34)
dmm.close
(on page 9-77)
Example
To close channels 1 to 5 on Slot 1, Channel 3 on Slot 3 and mychans:
channel.close("1001:1005, 3003, mychans")
To close Channel 1 on Slot 2 and analog backplane relay 3 in bank 1 on Slot 2:
channel.close("2001, 2913")
channel.connectrule
Attribute
Indicates the connection rule for closing and opening channels in the system.
Usage
To read the connect rule:
rule = channel.connectrule
To write the connect rule:
channel.connectrule = rule
Set rule to:
channel.BREAK_BEFORE_MAKE
or
1
to have BBM connections for relays in system relays
channel.MAKE_BEFORE_BREAK
or
2
to have MBB connections for relays in system relays
channel.OFF
or
0
to not guarantee a connection rule. The system will close relays as it is able to without
adhering to a rule.
Remarks
When the connection rule is set to
channel.OFF
, the command being processed uses
the most optimal connection rule at that time. Therefore, the same command may be
connected using BBM and then later use MBB. Use this setting when you
don’t care
which rule is used and
don‘t need a specific rule each time a command is processed.
Otherwise, use one the other two settings to indicate your desired connection rule.
This attribute applies to switch cards like EMR, reed relay cards.
Default setting and channel.reset rule is
channel.BREAK_BEFORE_MAKE
Changing this attributes settings causes an existing scan list to be rebuilt based on the
new setting.
Example
Set the connect rule in the system to BBM:
channel.connectrule =
channel.BREAK_BEFORE_MAKE