Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-37
channel.pattern.delete
Remarks
An error will be generated if the name does not exist.
Also see
channel.pattern.catalog
(on page 9-36)
channel.pattern.getimage
(on page 9-37)
channel.pattern.setimage
(on page 9-38)
channel.pattern.snapshot
(on page 9-40)
Example
To delete a channel pattern called mychans:
channel.pattern.delete("mychans")
channel.pattern.getimage
Function
Query a channel pattern for associated channels and analog backplane relays.
Usage
channels = channel.pattern.getimage(name)
name
: A string representing the name of the channel pattern to query.
channels
: A string listing channels & analog backplane relays represented by name.
Remarks
An error will be generated:
If the channel pattern does not exist.
A channel is specified.
An analog backplane relay is specified.
The returned string lists the channels in the SCCC or SRCC format (even if a channel
pattern was used to create it). Requests for multiple channel patterns will be delimited
by a semicolon, however, commas will delineate the specific channels for a single
channel pattern in the string.
Also see
channel.pattern.catalog
(on page 9-36)
channel.pattern.delete
(on page 9-36)
channel.pattern.snapshot
(on page 9-40)
channel functions and attributes
(on page 9-16)
Example
Assume
mychans
is comprised of channels 1 through 5 on Slot 4 and
myroute
is
comprised of channels 1, 3 and 5 on Slot 2:
To query the channel pattern called mychans:
channels = channel.pattern.getimage("mychans")
print(channels)
4001,4002,4003,4004,4005
To query the channel pattern called
myroute
:
channels = channel.pattern.getimage("myroute")
print(channels)
2001,2003,2005
To query channel patterns called
myroute
and
mychans
in a single call:
channels = channel.pattern.getimage("myroute,
mychans")
print(channels)
2001,2003,2005;4001,
4002,4003,4004,4005