Also see 
channel.getdelay() (on page 11-61) 
 
channel.setforbidden() 
This function prevents the closing of specified channels and analog backplane relays. 
 
Details 
The channelList parameter indicates the scope of channels affected and may include: 
▪  allslots or slotX (where X equals 1 to 6) 
▪  Channel ranges or individual channels 
▪  Analog backplane relays 
 
This function prevents all items contained in the channel list parameter from closing. It applies the 
"forbidden to close" attribute to the specified channels. 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 or analog backplane relay is set to forbidden. Note that if the channelList 
parameter includes a channel pattern, the channel pattern will be deleted when the channels in the 
patterns are successfully set to forbidden to close. 
 
The channels or analog backplane relays in the channelList parameter must be installed in the 
instrument. 
If the scan list contains a channel or analog backplane relay that is forbidden, the scan list is 
invalidated.