Section 7: Command reference
channel.clearforbidden()
This function clears the list of channels specified from being forbidden to close.
Type
TSP-Link accessible
Function
Yes
Usage
channel.clearforbidden(channelList)
channelList
Details
The channelList parameter indicates the channels that will no longer be forbidden to close, and may include:
•
allslots or slotX (where X equals 1 to 6 for Model 707B, or 1 for Model 708B)
•
Channel ranges or individual channels
This function allows all items contained in the channelList parameter to be closed (removes the "forbidden to
close" attribute that can be applied to a channel using channel.setforbidden()).
Command processing will stop as soon as an error is detected. If an error is found, the channels are not cleared
from being forbidden to close.
Example
channel.reset("slot1")
channel.setforbidden("1A01:1A05")
channel.clearforbidden("1A02,1A03")
print(channel.getforbidden("slot1"))
Also see
channel.getforbidden()
channel.setforbidden()
7-18
Affected by
String specifying a list of channels, using channel list notation.
(on page 7-30)
(on page 7-45)
Models 707B and 708B Switching Matrix Reference Manual
Where saved
Default value
Reset the channels on slot 1.
Set channels 1A01, 1A02, 1A03, 1A04, and
1A05 to be forbidden to close.
Change 1A02 and 1A03 to be allowed to close.
Retrieve the list of forbidden channels.
Output:
1A01,1A04,1A05
707B-901-01 Rev. A / August 2010