Section 7: TSP command reference
Models 707B and 708B Switching Matrix Reference Manual
7-36
707B-901-01 Rev. B / January 2015
channel.pattern.delete()
This function deletes a channel pattern.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
channel.pattern.delete(
name
)
name
A string representing the name of the channel pattern to delete
Details
An error is generated if the name does not exist as a channel pattern.
Example
channel.pattern.delete("Channels")
Deletes a channel pattern called
Channels
.
Also see
(on page 7-35)
(on page 7-36)
(on page 7-37)
(on page 7-39)
channel.pattern.getimage()
This function queries a channel pattern for associated channels.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Instrument reset
Channel reset
Recall setup
Pole setting change
Create configuration script
Save setup
Not applicable
Usage
channelList
= channel.pattern.getimage(
name
)
channelList
A string specifying a list of channels that are represented by the name
name
A string representing the name of the channel pattern to query
Details
The returned string lists the channels in the slot, row, column format, even if a channel pattern was
used to create it. Results for multiple channel patterns are delimited by a semicolon (
;
). Commas
delimit the specific channels in a single channel pattern in the string.
If you change a pole setting for a channel that is associated with a channel pattern, the channel
pattern is deleted. Be sure to configure the pole setting for channels (
channel.setpole
) before
creating a channel pattern.