Models 707B and 708B Switching Matrix Reference Manual
channel.close()
This function closes channels and channel patterns specified by the channel list parameter without opening any
channels.
Type
TSP-Link accessible
Function
Yes
Usage
channel.close(channelList)
channelList
Details
These closures are appended to the already closed channels (no previously closed channels are opened by this
command).
Actions associated with this function include:
•
Close the specified items in channelList
•
Incur the settling time and any user-specified delay
An error is generated if:
•
The parameter string contains slotX, where X is 1 to 6, or allslots
•
A forbidden item is specified
•
Specified channel does not support being closed
Once an error is detected, the command stops processing and no channels are closed.
Example
channel.open("allslots")
channel.pattern.setimage("1B02,1B04,1B06",
"Chans")
channel.close("1A01:1A05, 1C03, Chans")
print(channel.getclose("slot1"))
Also see
channel.exclusiveclose()
channel.exclusiveslotclose()
channel.getclose()
channel.open()
707B-901-01 Rev. A / August 2010
Affected by
A string that lists the channels and channel patterns to close
(on page 7-24)
(on page 7-25)
(on page 7-27)
(on page 7-35)
Where saved
Default value
Close a variety of channels, directly and with a
channel pattern; note that the output sorts the
channels
Output:
1A01;1A02;1A03;1A04;1A05;1B02;1B04;
1B06;1C03
Section 7: Command reference
7-19