Section 7: TSP command reference
Models 707B and 708B Switching Matrix Reference Manual
7-42
707B-901-01 Rev. B / January 2015
An error message is generated if:
•
The value is an invalid setting for the specified channel
•
A channel pattern is specified
•
The channel is for an empty slot
Command processing will stop as soon as an error is detected and no delay times will be modified.
Pseudocards do not replicate the additional delay time.
Example 1
channel.setdelay("1A03, 1A05", 50e-6)
Sets row 1 and columns 3 and 5 of slot 1 for a
delay time of 50 microseconds.
Example 2
channel.setdelay("slot1", 0)
Sets the channels on slot 1 for 0 delay time.
Also see
(on page 7-26)
channel.setforbidden()
This function prevents the closing of specified channels.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Instrument reset
Channel reset
Recall setup
Create configuration script
Save setup
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
slot
X
(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. 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 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 in the
channelList
parameter must be installed in the instrument.
If the scan list contains a channel that is forbidden, the scan list is invalidated.