Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-68
3700AS-901-01 Rev. D/June 2018
For totalizer channels, the following modes are supported:
•
channel.MODE_RISING_EDGE
or
1
•
channel.MODE_FALLING_EDGE
or
0
•
channel.MODE_RISING_TTL_EDGE
(default) or
3
•
channel.MODE_FALLING_TTL_EDGE
or
2
•
channel.MODE_RISING_EDGE_READ_RESET
or
5
•
channel.MODE_FALLING_EDGE_READ_RESET
or
4
•
channel.MODE_RISING_TTL_EDGE_READ_RESET
or
7
•
channel.MODE_FALLING_TTL_EDGE_READ_RESET
or
6
For DAC channels, the following modes are supported:
•
channel.MODE_VOLTAGE_1
or
17
•
channel.MODE_CURRENT_1
or
1
•
channel.MODE_CURRENT_2
or
2
•
channel.MODE_PROTECT_VOLTAGE_1
(default) or
49
•
channel.MODE_PROTECT_CURRENT_1
or
33
•
channel.MODE_PROTECT_CURRENT_2
or
34
Switch and analog backplane channels do not have modes. If included in a range or slot specifier,
they are ignored. If they are specified directly, an error is generated.
Example
print(channel.getmode("slot6"))
Query the configuration of the channels on
slot 6. Assuming a 3750, channels 1 to 5 are
digital I/O, channels 6 to 9 are totalizers, and
channels 10 to 11 are DACs.
Output:
0,0,0,0,0,3,3,3,3,49,49
Also see
(on page 11-94)