Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-6
Document Number: 3700S-901-01 Rev. A / August 2007
If the command was
channel.getstate
instead of
channel.getcount
, then 72 zero or
one values would be returned. (A 0 would indicate channel or backplane is open while a 1 would
indicate that it is closed.) Again, the first 60 are for channels 1 to 60 starting at 1 and increasing
to 60. The last 12 are the backplane relays staring with bank 1 relay 1 increasing to bank 2 relay
6.
NOTE
If a channel is paired for 4-wire by its pole setting, then the paired channel state is
returned in parenthesis () after the primary channel. For example, if the card in Slot 4
is a 3720 has the 4-pole attribute for all channels set, querying for the states of
"slot4"
will return 72 zeros and ones with the first 60 showed as primary channel
state (paired channel state) then the 12 backplane relays.
Sample code and output:
channel.setpole('slot4', 4)
print(channel.getstate('slot4'))
Output from above code:
0(0),0(0),0(0),0(0),0(0),0(0),0(0),0(0),0(0),0(0),0(0),0(0),0(0),0(0),0
(0),0(0),0(0),0(0),0(0),0(0),0(0),0(0),0(0),0(0),0(0),0(0),0(0),0(0),0(
0),0(0),0,0,0,0,0,0,0,0,0,0,0,0
DMM configuration
When a DMM configuration is updated, the instrument will go through all switch channels in the
system to find ones which have the updated configuration assigned as its DMM configuration
attribute setting. For each one found, it will verify that the new configuration attribute settings are
still valid for that channel. If still valid and needed, changes will be made to support the new
settings.
DMM new configuration example
For example, assume Slot 6 has a 3720 card installed and the following ICL commands are
sent:
reset()
dmm.nplc = .1
dmm.range = 10
dmm.configure.set('myconfig')
dmm.setconfig('slot6', 'myconfig')
print(dmm.getconfig('slot6'))
The output will be 60 comma-delimited
myconfig
strings as follows: