User manual
Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-49
channel.getcount()
Remarks,
continued
If an error is detected, a nil value is returned. No partial list of close counts is
returned.
When the channel list parameter for this function is 'slotX', the response first lists
the channels starting from lowest to highest. After the channels, backplane relays are
listed starting with lowest bank first and increasing to the highest.
When the channel list parameter for this function is 'allslots', the response
starts with Slot 1 and increases to Slot 6. Each slot is processed completely before
going to the next. Therefore, all Slot 1 channels and backplane relays are listed before
Slot 2 channels.
For digital I/O, DAC, and totalizer channels, zero is always returned.
Also see
Query commands (on page 13-6)
Example
To see the close counts for Channels 1 to 5 on Slot 2:
counts = channel.getcount('2001:2005')
To see the close counts for all channels and analog backplane relays on Slot 3:
counts = channel.getcount('slot3')
To see the close counts for channels and analog backplane relays in channel pattern
called 'mypath':
MyPathList = channel.pattern.getimage('mypath')
print(MyPathList)
print(channel.getcount(MyPathList))
or
print(channel.getcount('mypath'))
channel.getdelay()
Function
Queries for the additional delay time for the specified items.
Usage
stime = channel.getdelay(<ch_list>)
ch_list: A string listing the channels to query for their delay time.
stime: Returns a comma-delimited string consisting of the delay times (in seconds) for
items specified in ch_list.