
Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-29
channel.getcount
Also see
Query commands
(on page 9-5)
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.
Remarks
The parameter string may contain ―slotX‖, where X equals 1 to 6, or ―allslots‖.
An error message will be generated for the following reasons:
an empty parameter string.
the specified channel does not exist.
slot is empty.
the specified channel does not exist for card installed in slot.
parameter syntax error such as incorrect format for ch_list.
an analog backplane relay is specified.
the specified channels does not support a delay time like digital I/O.
a channel pattern is specified.
Command processing will stop as soon as an error is detected and a nil response will be
generated. No partial list of delay times will be returned.
The delay times will be comma delimited in the same order as the items were specified
in the
ch_list
parameter. A value of 0 indicates that no additional delay time is being
incurred before a close or open command completes. A command, after updating the
state of channels based on the command, will incur the delay time indicated in the
response for a channel before completing. However, the internal settling time needs to
elapse before the user delay is incurred. Therefore, open/close command processed
–
settling time incurred
– user delay incurred – command completes.
Also see
channel.setdelay
(on page 9-44)
Query commands
(on page 9-5)