
Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-62
3700AS-901-01 Rev. D/June 2018
Example 2
patternChannels =
channel.pattern.get("chans")
DelayPatternTimes =
channel.getdelay(patternChannels)
Gets the delay of the channels in the
chans
channel pattern if
chans
does not contain
backplane relays. If it does contain
backplane relays, you will receive error code
1115, "Parameter error invalid channel type
in channel list."
Also see
(on page 9-3)
channel.getforbidden()
This function returns a string listing the channels and analog backplane relays in the channel list that are
forbidden to close.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Instrument reset
Channel reset
Recall setup
Create configuration script
Save setup
Permitted to close
Usage
forbiddenList
= channel.getforbidden("
channelList
")
forbiddenList
Comma-delimited string listing the channels and analog backplane relays in the
channel list that are forbidden to close
channelList
A string listing the channels, backplane relays, and channel patterns that are to be
checked to see if they are forbidden to close
Details
The
channelList
parameter indicates which channels to check, and may include:
▪
allslots
or
slot
X
(where
X
equals 1 to 6)
▪
Channel ranges or individual channels
▪
Analog backplane relays
▪
Channel patterns
If there are no channels in the scope of the
channelList
that are on the forbidden list, the string
returned is empty or
nil
. The format of the channels in the response string is slot, channel for
multiplexer channels or slot, row, column for matrix channels.
Example 1
Forbidden =
channel.getforbidden("allslots")
Query for the channels and analog
backplane relays that are forbidden to close
in the instrument.