Channel.getlabel() - Keithley 708B Reference Manual

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

Advertisement

Models 707B and 708B Switching Matrix Reference Manual
Example
channel.reset("slot1")
channel.setforbidden("1A01:1A05")
print(channel.getforbidden("allslots"))
print(channel.getforbidden("slot1"))
print(channel.getforbidden(
"1A01:1A03,1B04,1B08,1B12"))
Also see
channel.clearforbidden()
channel.setforbidden()

channel.getlabel()

This function retrieves the label associated with one or more channels.
Type
TSP-Link accessible
Function
Yes
Usage
label = channel.getlabel(channelList)
label
channelList
Details
The channelList parameter can contain more than one channel. If it does, a comma delimits the labels for the
channels. The return string lists the labels in the same order that the channels were specified. The
channelList parameter cannot be an empty string and must be a valid channel.
The channelList parameter can contain slotX (where X equals 1 to 6 for Model 707B, or 1 for Model 708B)
or allslots.
An error is generated if:
The slot is empty
The specified channel is not on the installed card
A channel pattern is specified
The channel does not support a label setting
Command processing stops as soon as an error is detected, and then a nil response is generated. No partial
list of labels is returned.
707B-901-01 Rev. A / August 2010
(on page 7-18)
(on page 7-45)
Affected by
System reset
Channel reset
A string listing the comma-delimited labels for items in channelList
A string listing the channels to query for the label associated with them
Reset the channels.
Set channels 1A01, 1A02, 1A03, 1A04, and
1A05 to be forbidden.
List the forbidden channels on all slots, slot 1,
and list of channels.
Output:
1A01,1A02,1A03,1A04,1A05
1A01,1A02,1A03,1A04,1A05
1A01,1A02,1A03
Where saved
Default value
Create
slot, row, column identifier
configuration script
Section 7: Command reference
7-31

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents