Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-67
Details
The channel match types are:
• 1 for match exactly
• 2 for match any
• 3 for match not exact
• 4 for match none
Digital analog converter, backplane, and switch channels are not supported. If these channels are
included in a range or slot specifier, they are ignored; otherwise, an error is generated.
Example
print(channel.getmatchtype("6001:6009"))
Query the match type for digital I/O channels
1 through 5 and totalizer channels 6 through
9 on slot 6 (assuming a 3750 card).
Output:
4,4,4,4,4,4,4,4,4
Also see
channel.setmatch() (on page 11-92)
channel.setmatchtype() (on page 11-93)
channel.getmode()
This function returns the present mode of digital and totalizer channels.
Usage
mode = channel.getmode("channelList")
Return string of a comma-delimited list of modes
String that specifies the channels to query, using normal channel list syntax
Details
For digital I/O channels, the following modes are supported:
• channel.MODE_INPUT (default) or 0
• channel.MODE_OUTPUT or 1
• channel.MODE_PROTECT_OUTPUT or 3