Models 707B and 708B Switching Matrix Reference Manual
Section 7: TSP command reference
707B-901-01 Rev. B / January 2015
7-33
channel.gettype()
This function returns the type associated with a channel.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
type
= channel.gettype(
channelList
)
type
Returns a string listing the comma-delimited types for channels in
channelList
channelList
String specifying the channels to query, using normal
channelList
syntax
Details
The channel type is defined by the physical hardware of the card on which the channel exists. The
only valid channel type for the Models 707B and 708B is
channel.TYPE_SWITCH
or
1
.
Example 1
print(channel.gettype("1A01"))
Query the channel type of row 1, column 1, in
slot 1.
Also see
None
channel.open()
This function opens the specified channels and channel patterns.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
channel.open(
channelList
)
channelList
String listing the channels and channel patterns to open
Details
This function opens the specified channels based on the channel's switching configuration.
The settling time associated with a channel must elapse before the command completes. User delay
is not added when a relay opens.
Example 1
channel.open("1A01:1A05, 3B03, Chans")
Opens channels in row 1, columns 01 to 05 on
slot 1; row 2, column 03 on slot 3; and the
channels in the channel pattern
Chans
.