Channel.getcount() - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Section 7: Command reference

channel.getcount()

This function returns a string with the close counts for the specified channels.
Type
TSP-Link accessible
Function
Yes
Usage
counts = channel.getcount(channelList)
counts
channelList
Details
A close count is the number of times a relay has been closed. The count values are returned in the order in
which the channels are specified.
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.
When the channelList parameter for this function is "slotX", 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.
Example
channel.pattern.setimage("1A01,1B02,1C01","Path")
PathList =
channel.pattern.getimage("Path")
print(PathList)
print(channel.getcount(PathList))
print(channel.getcount("Path"))
7-28
Models 707B and 708B Switching Matrix Reference Manual
Affected by
A comma-delimited string listing the channel close counts
A string listing the items to query, which can include:
Channels
Channel patterns (channels will be listed in the order in which they are listed
in the pattern)
slotX, where X equals 1 to 6 for the Model 707B or 1 for the Model 708B
allslots
Where saved
Default value
Gets the close counts for channels in a
channel pattern called "Path"
Sample output:
1A01,1B02,1C01
11001,11014,11025
11001,11014,11025
707B-901-01 Rev. A / August 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents