Channel.getclose() - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Models 707B and 708B Switching Matrix Reference Manual

channel.getclose()

This function queries for the closed channels indicated by the channel list parameter.
Type
TSP-Link accessible
Function
Yes
Usage
closed = channel.getclose(channelList)
closed
channelList
Details
If more than one channel is closed, they are semicolon-delimited in the string. When the channelList contains
a channel pattern, only the closed channels in that image are returned.
The channelList parameter indicates the scope of channels affected, and can include:
allslots or slotX (where X equals 1 to 6 for Model 707B, or 1 for Model 708B)
Channel ranges, individual channels, or channel patterns
An error message is generated if an empty parameter string is specified or the scope of the channel list specified
contains no valid channels (for example, a channel list equaling "slotX" or "allslots").
If nothing is closed within the specified scope, a nil response is returned.
Example 1
channelList = "1A01:1H12"
channel.close("1A01")
print(channel.getclose(channelList))
channel.close("1C03")
print(channel.getclose(channelList))
Example 2
channel.close("1B03:1B05")
print(channel.getclose("allslots"))
Also see
channel.close()
channel.exclusiveclose()
channel.getstate()
channel.open()
707B-901-01 Rev. A / August 2010
Affected by
A string listing the channels that are currently closed
A string representing the channels that will be queried, including channel patterns
(on page 7-19)
(on page 7-24)
(on page 7-34)
(on page 7-35)
Where saved
Default value
For this example, assume there is a card or
pseudocard in Slot 1 with no previously closed
channels. The output is:
1A01
1A01;1C03
For this example, assume there is a card or
pseudocard in Slot 1 with no previously closed
channels. The output is:
1B03;1B04;1B05
Section 7: Command reference
7-27

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents