User manual
Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-7
If the command was channel.getstate instead of channel.getcount,
then 72 zero (0) or one (1) values would be returned (a 0 would indicate that the
channel or backplane is open; a 1 would indicate that it is closed). The first 60
values are for Channels 1 to 60 (starting at 1 and increasing to 60). The last 12
values are the backplane relays (starting 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 Model 3720 and 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 shown as the primary
channel state (paired channel state); the 12 backplane relays follow.
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
The Model 3721 card has three additional backplane relays for common side
ohms functionality. Use 'slotX' or 'allslots' to query settings on this card
to return information for Channels 1 to 40, 911 to 916, 921 to 926, and then 917,
927, and 928 in the response message (the three additional common side ohms
backplane relays are listed last).
For example, to print out the channel images on this card when it is in Slot 2
after a reset, send the following:
reset()
print(channel.getimage('slot2'))
Output from above code:
2001;2002;2003;2004;2005;2006;2007;2008;2009;2010;2011;2012
;2013;2014;2015;2016;2017;2018;2019;2020;2021;2022;2023;202
4;2025;2026;2027;2028;2029;2030;2031;2032;2033;2034;2035;20
36;2037;2038;2039;2040;2041;2042;2911;2912;2913;2914;2915;2
916;2921;2922;2923;2924;2925;2926;2917;2927;2928
NOTE The common side ohm backplane relays (2917, 2927, and 2928) are
listed last.