User manual

Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-54 3700S-901-01 Rev. C / July 2008
channel.getmatch()
Example
Query the match value set to digital I/O Channel 1, Slot 1:
print(channel.getmatch("1001"))
channel.getmatchtype()
Function
Gets the match type.
Usage
<match_type> = channel.getmatchtype(<ch_list>)
match_type: Return string listing the comma-delimited states for channels in
ch_list.
ch_list: String specifying digital I/O or totalizer channels to query, using normal
channel list syntax.
Remarks
DAC, backplane, and switch channels are not supported. If included in a range, they
are ignored; otherwise, an error is generated.
Also see
channel.setmatchtype() (on page 13-76)
Example
Query the match type for digital I/O Channel 1, Slot 1:
print(channel.getmatchtype("1001"))
channel.getmode()
Function
Gets the current mode attribute for a channel.
Usage
<mode> = channel.getmode(<ch_list>)
mode: Return string of a comma-delimited list of modes.
ch_list: String specifying digital I/O, DAC, or totalizer channels to query, using normal
channel list syntax.
Remarks
Switch and backplane channels do not have modes. If included in a range, they are
ignored; otherwise, an error is generated.
Also see
channel.setmode() (on page 13-77)
Example
Query the configuration of the first totalizer channel (Channel 6) in Slot 1:
print(channel.getmode("1006"))
channel.getoutputenable()
Function
Gets the current output enable attribute for a channel.
Usage
<relay_state> = channel.getoutputenable(<ch_list>)
state: Return string of a comma-delimited list of relay states.
ch_list: String specifying DAC channels to query, using normal channel list syntax.
Remarks
Switch and backplane channels do not have modes. If included in a range, they are
ignored; otherwise, an error is generated.
Also see
channel.setoutputenable() (on page 13-78)