Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-59
closedRange = channel.getclose("3001:3020")
Gets all channels that are closed on
channels 1 to 20 on slot 3.
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
channel.close() (on page 11-46)
channel.exclusiveclose() (on page 11-52)
channel.getstate() (on page 11-72)
channel.open() (on page 11-76)
Data retrieval commands (on page 9-3)
channel.getcount()
This function returns the number of times the relays have been closed for the specified channels.
Usage
counts = channel.getcount("channelList")
A comma-delimited string that lists the number of times the channel has closed
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)
â–ª slotX, 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.