Section 11: TSP command reference Series 3700A System Switch/Multimeter Reference Manual
11-66 3700AS-901-01 Rev. D/June 2018
Details
If a width greater than 1 is specified with channel.setmatch(), the matchValue contains the
additional channel width specified at set time. For example, the value of 65535 with a width of 2
returns 65535. If the width is 1, 255 is returned.
This command returns the match value that was set for the specified channels. DAC, backplane, and
switch channels are not supported. If they are included in a range or slot specifier, they are ignored.
Example
print(channel.getmatch("slot6"))
Query the match values set for digital I/O channels 1 to 5 on
slot 6 and totalizer channels 6 to 9 on slot 6, assuming a
Model 3750 card.
Output (assuming defaults):
0,0,0,0,0,0,0,0,0
Also see
channel.setmatch() (on page 11-92)
channel.getmatchtype()
This function returns the match type for digital I/O and totalizer channels.
Usage
matchType = channel.getmatchtype("channelList")
The comma-delimited states for channels in channelList
String specifying the digital I/O or totalizer channels to query, using normal channel
list syntax