
Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-59
Example 4
closedRange = channel.getclose("3001:3020")
Gets all channels that are closed on
channels 1 to 20 on slot 3.
Example 5
closedOnes = channel.getclose("3001, 3002,
3003, 3005, 3911, 3912")
Gets all channels that are closed on
channels 1, 2, 3, 5 and analog backplane
relay 1 and 2 in bank 1 on slot 3.
Also see
(on page 11-46)
(on page 11-52)
(on page 11-72)
(on page 11-76)
(on page 9-3)
channel.getcount()
This function returns the number of times the relays have been closed for the specified channels.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
counts
= channel.getcount("
channelList
")
counts
A comma-delimited string that lists the number of times the channel has closed
channelList
A string listing the items to query, which can include:
▪
Channels
▪
Backplane relays
▪
Channel patterns (channels will be listed in the order in which they are listed in
the pattern)
▪
slot
X
, where
X
is
1
to
6
▪
allslots
Details
The Series 3700A keeps an internal count of the number of times each relay has been closed. This
count can help you determine when relays require replacement. Refer to the plug-in card
documentation for the contact life specifications for the relays. The closure counts for an analog
backplane relay can be included in the
channelList
parameter.
If
channelList
includes a pattern, you can use
channel.pattern.getimage()
with the pattern
name to see the channel order and the channels to which the close counts pertain.