
Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-45
channel.setforbidden()
This function prevents the closing of specified channels.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
System
reset
Channel reset
Create configuration script
Not forbidden
Usage
channel.setforbidden(channelList)
channelList
A string that lists the channels to make forbidden to close.
Details
The
channelList
parameter indicates the scope of channels affected 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 prevents all items contained in the channel list parameter from closing (applies the "forbidden to
close" attribute to channels specified ). To remove the "forbidden to close" attribute, use
channel.clearforbidden()
.
If a channel that is being set to forbidden is used in a channel pattern, the channel pattern is deleted when the
channel is set to forbidden.
The channels in the
channelList
parameter must be installed in the instrument.
The
channelList
parameter cannot include a channel pattern.
If the scan list contains a channel that is forbidden, the scan list is invalidated.