Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-31
channel.getimage
Example
Assume Channel 3 on Slot 2 is configured for a 4-wire application and Channel 5 on Slot
2 is configured for a 2-wire application on a 50-channel card.
To query Channel 5 on Slot 2:
channels = channel.getimage("2005")
print(channels)
2005
To query Channel 3 on Slot 2:
channels = channel.getimage("2003")
print(channels)
2003(2028)
To query for channels 2003 and 2005 in a single call:
channels = channel.getimage("2003, 2005")
print(channels)
2003(2028);2005
To query Channel 2028:
channels = channels.getimage("2028")
print(channels)
nil (error – 2028 is paired for 4-wire
operation)
channel.getlabel
Function
Queries for the label associated with one or more channels.
Usage
label = channel.getlabel(ch_list)
ch_list
: A string listing the channels to query for the label associated with them.
label
: String listing the labels, comma delimited, for items in ch_list.