
Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-71
Example
channel.reset("slot5")
channel.setpole("5003, 5007", 4)
polesSlot5 = channel.getpole("5001, 5003, 5005,
5007")
print(polesSlot5)
Reset the channels on slot 5 only.
Set the pole attribute for channels 3 and 7 on
slot 5 to be 4.
Query channels 1, 3, 5, and 7 on slot 5 for
pole settings.
View the pole attribute for the specified
channels.
Output:
2,4,2,4
Also see
(on page 9-3)
(on page 11-96)
channel.getpowerstate()
This function gets the current power state attribute for a totalizer or DAC channel.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Instrument reset
Channel reset
Recall setup
Create configuration script
Save setup
1
Usage
states
= channel.getpowerstate("
channelList
")
states
Return string of a comma-delimited list of power states
channelList
String specifying the channels to query, using normal channel list syntax
Details
See card-specific documentation for important potential implications (warm-up times, effective
coverage, use cases, and so on) when disabling or enabling power to a channel.
Not all channels can be disabled. If a channel that cannot be disabled is included in a range, it is
ignored. If it is specified directly, an error is generated.
Example
print(channel.getpowerstate("1006"))
Get the current power state attribute for a
totalizer channel 6 of slot 1 (assuming a
Model 3750 card).
Output (assuming defaults):
1
Also see
(on page 11-99)