channel.reset("slot2")
channel.setpole(channel.POLES_FOUR)
channel.close("2001, 2003")
print(channel.getclose("slot2"))
channel.open("slot2")
channel.setbackplane("2001", "2915")
channel.setbackplane("2003", "2925")
channel.close("2001, 2003")
print(channel.getclose("slot2"))
print(channel.getimage("2001, 2003"))
channel.open("slot2")
channel.setpole("slot2", 2)
print(channel.getimage("2001, 2003"))
Assuming a 3721, reset channels on slot 2
only.
Set channels on slot 2 to 4-pole.
Close channels 1 and 3 on slot 2.
Query slot 2 for closed channels and analog
backplane relays.
Output:
2001(2021);2003(2023)
Note that the channels in parentheses are
the paired channels because they are in a 4-
pole configuration.
Open all channels and analog backplane
relays on slot 2.
Associate analog backplane relay 5 in bank 1
of slot 2 with channel 1 on slot 2.
Associate analog backplane relay 5 in bank 2
of slot 2 with channel 3 on slot 2.
Close channels 1 and 3 on slot 2.
Query slot 2 for closed channels and analog
backplane relays.
Output:
2001(2021);2003(2023);2915;2925
Query for channels and analog backplane
relays that are manipulated when open and
close channels 1 and 3 on slot 2.
Output:
2001(2021),2915;2003(2023),2925
Clear paired channels and analog backplane
relays.
Output:
2001;2003
Note that channels are no longer paired or
have analog backplane relays associated
with them.
Also see
channel.getbackplane() (on page 11-55)
channel.getpole() (on page 11-70)
channel.pattern.setimage() (on page 11-79)
channel.pattern.snapshot() (on page 11-82))
channel.setbackplane() (on page 11-87)