User manual
Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-48 3700S-901-01 Rev. C / July 2008
channel.getclose()
Example
To see the channels and analog backplane relays that are closed on Slot 5:
ClosedSlot5 = channel.getclose('slot5')
To see all channels and analog backplane relays that are closed in a system:
AllClosed = channel.getclose('allslots')
To see all channels closed within a pattern called 'mychans':
ClosedMyChans = channel.getclose('mychans')
To see all channels closed from Channel 1 to 20 on Slot 3:
ClosedRange = channel.getclose('3001:3020')
To see Channels 1, 2, 3, 5 and analog backplane relay 1 and 2 in Bank 1 on Slot 3:
ClosedOnes = channel.getclose('3001, 3002,
3003, 3005, 3911, 3912')
channel.getcount()
Function
Returns a string with the close counts for specified items.
Usage
counts = channel.getcount(<ch_list>)
ch_list: string listing the items to query. Items can include channels, backplane relays,
and channel patterns.
counts: comma-delimited string listing the channel close counts.
Remarks
This function returns a comma-delimited string of numbers representing the close
counts for each channel specified in parameter list. The count values are returned in
the same order as the channels were specified. The close counts for an analog
backplane relay might be included in the ch_list parameter.
The parameter string can contain 'slotX', where X equals 1 to 6, or
'allslots'. It can also contain a pattern which gets translated into the channels
and analog backplane relays. Use the channel pattern get command (see
channel.pattern.getimage() (on page 13-62)) with the pattern name to see
the channels that the close counts pertain to, along with the channel order.
An error is generated if:
Syntax error in parameter string exists.
An empty parameter string is specified or a parameter string with just spaces
exists.
A specified channel is invalid.
The channel number does not exist for slot specified.
Slot is empty.
Does not have a count closure associated with it.