Section 11: TSP command reference Series 3700A System Switch/Multimeter Reference Manual
11-88 3700AS-901-01 Rev. D/June 2018
Calling this function on an existing channel involved in scanning invalidates the existing scan list.
An error is generated if:
• An empty slot is specified.
• A specified channel or analog backplane relay does not exist for the card installed in a slot.
• An empty parameter string is received for channelList. An empty string is allowed for
abuslist. A parameter string of just spaces is treated like an empty string.
• A specified channel does not have analog backplane relays associated with it, such as digital I/O.
• An analog backplane relay is specified in channelList.
• A channel is specified in abuslist.
• A channel pattern is specified.
If a syntax error occurs, command processing stops and no changes are made.
Example 1
channel.setbackplane("2002", "2913, 2914")
channel.open("allslots")
channel.close("2002")
print(channel.getclose("allslots"))
Use analog backplane relays 3 and 4 in
bank 1 of slot 2 for a switching application on
channel 2 of slot 2.
Open all channels in the instrument.
Close channel 2 on slot 2.
Query for all closed channels in the
instrument.
Output (assuming channel 2002 is
configured for 2-pole operation):
2002;2913;2914
print(channel.getbackplane("2002"))
channel.open("slot2")
channel.setpole("2002", 4)
channel.close("2002")
print(channel.getclose("slot2"))
channel.open("slot2")
channel.setbackplane("2002", "2911, 2922")
channel.close("2002")
print(channel.getclose("slot2"))
Query the analog backplane relays for
channel 2 of slot 2, assuming the
configuration of the previous example.
Output:
2913,2914
Open all channels on slot 2 only.
Change the poles on channel 2 of slot 2 to 4
(this clears previously assigned backplanes
to the channel).
Close channel 2 on slot 2.
Query for closed channels on slot 2 (note
that the backplane relays have been cleared
and the paired channel, 2022, is in
parentheses)
Output:
2002(2022)
Open all channels on slot 2 only.
Assign analog backplane relay 1 of bank 1
and relay 1 of bank 2 of slot 2 to channel 2 of
slot 2.
Close channel 2 on slot 2.
Query for closed channels on slot 2.
Output:
2002(2022);2911;2922