Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-63
channel.setforbidden("3003, 3005, 3925")
Forbidden =
channel.getforbidden("slot3")
print(Forbidden)
Set channels 3 and 5 and analog backplane
relay 5 in bank 2 to forbidden to close on
slot 3.
Query for the channels and analog backplane
relays that are forbidden to close on slot 3.
Sample output:
3003,3005,3925
Forbidden =
channel.getforbidden("1911:1916" ..
",2004,2008,2012")
Query for channels and analog backplane
relays in a specified list. This list is only
checking channels and analog backplane
relays 1 to 6 on slot 1 and channels 4, 8 and
12 on slot 2 and returning the channels and
analog backplane relays that are forbidden to
close.
Also see
channel.clearforbidden() (on page 11-46)
channel.setforbidden() (on page 11-90)
Data retrieval commands (on page 9-3)
channel.getimage()
This function queries a channel for items associated with that channel when used in a switching operation.
Instrument reset
Channel reset
Recall setup
Related backplane relays
Pole settings
Usage
channels = channel.getimage("channelList")
A string listing the channels and analog backplane relays associated with the
specified items
A string representing the channels and analog backplane relays to query
Details
The parameter string can contain "slotX"(where X equals 1 to 6) or "allslots".
The returned string lists the channels in slot, channel format or slot, row, column format. A request for
multiple channels is delimited by a semicolon. Note that commas delimit the specific channels and
analog backplane relays for an individual channel in the string.
If an error is detected, the response is nil.
An error is generated if:
â–ª A channel pattern is specified
â–ª An empty parameter string is specified
â–ª slotX is empty or allslots parses to specify no valid channels because all slots are empty