Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-33
channel.getlabelrow()
This function retrieves the label assigned to a row.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
System
reset
Channel reset
Create
configuration script
Empty string or blank
Usage
label = channel.getlabelrow(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. If it does, use a comma to delimit the labels
for the channel rows. The return string
label
lists the labels in the same order that the channels are specified.
The
channelList
parameter can contain
slotX
(where
X
equals 1 to 6 for Model 707B, or 1 for Model 708B)
or
allslots
. It can also contain a label, but it cannot contain a channel pattern.
Example
channel.setrowlabel("1A01", "DUT1")
channel.setrowlabel("1C01", "DUT2")
print(channel.getlabelrow("1A01, 1B01,
1C01, 1D01, 1E01, 1F01, 1G01, 1H01"))
Label the row labels on a card
Output:
DUT1,,DUT2,,,,,,
Also note the change on the display
Also see
(on page 7-32)