Section 7: TSP command reference
Models 707B and 708B Switching Matrix Reference Manual
7-30
707B-901-01 Rev. B / January 2015
channel.getlabelcolumn()
This function retrieves the label that was assigned to a column.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Instrument reset
Channel reset
Create configuration script
Empty string or blank
Usage
label
= channel.getlabelcolumn(
channelList
)
label
A string that lists the comma-delimited labels for the items in
channelList
.
channelList
A string that lists the channels to query for the labels associated with them.
Details
The parameter
channelList
can contain more than one channel. Use a comma to delimit the labels
for the channels. The return string
label
lists the labels in the same order that the channels are
specified.
You cannot specify a channel pattern.
The
channelList
parameter can contain
slot
X
(where
X
equals 1 to 6 for Model 707B, or 1 for
Model 708B) or
allslots
. It can also contain a label. However, if the label exists, it is in the returned
response and not the numeric channel number.
Example
channel.setlabelcolumn("1A01", "DUT1")
channel.setlabelcolumn("1A03", "DUT2")
print(channel.getlabelcolumn("1a01:1a12"))
Label all the column labels on a card.
Output:
DUT1,,DUT2,,,,,,,,,
Also note the change on the display.
Also see
(on page 7-31)