Section 7: TSP command reference
Models 707B and 708B Switching Matrix Reference Manual
7-26
707B-901-01 Rev. B / January 2015
When the
channelList
parameter for this function is
"slot
X
"
, the response first lists the channels
starting from lowest to highest (from slot 1 to slot 6). Because each slot is processed completely
before going to the next, all slot 1 channels are listed before slot 2 channels.
The counts reported for the following cards indicate the number of closures since the last power cycle
of the card:
•
7072
•
7072-HV
•
7173-50
•
7174A
For all other cards, the number of closures is the closures that have occurred over the lifetime of the
card.
If an error is detected, a
nil
value is returned. No partial list of close counts is returned.
Pseudocards do not support counts, so count values are generated numbers, not actual count
values, if a pseudocard is used.
Example
channel.pattern.setimage("1A01,1B02,1C01","Path")
PathList =
channel.pattern.getimage("Path")
print(PathList)
print(channel.getcount(PathList))
print(channel.getcount("Path"))
Gets the close counts for channels in a
channel pattern called
"Path"
.
Sample output:
1A01,1B02,1C01
11001,11014,11025
11001,11014,11025
Also see
(on page 7-36)
(on page 7-37)
channel.getdelay()
This function queries for the additional delay time for the specified channels.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Instrument reset
Channel reset
Recall setup
Create configuration script
Save setup
0
Usage
delayTimes
= channel.getdelay(
channelList
)
delayTimes
A comma-delimited string consisting of the delay times (in seconds) for channels
specified in
channelList
channelList
A string listing the channels to query for their delay times