
Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-36
Document Number: 3700S-901-01 Rev. A / August 2007
channel.open
Example
To open channels 1 to 5 on Slot 1, Channel 3 on Slot 3 and mychans:
channel.open("1001:1005, 3003, mychans")
To open all channels on Slot 3 and 5:
channel.open("slot3, slot5")
To open all channels on all slots:
channel.open("allslots")
channel.pattern.catalog
Function
Creates an iterator for the user created channel patterns.
Usage
for name in channel.pattern.catalog() do
… end
Remarks
Accessing the catalog for user channel patterns allows the user to print or delete all
patterns in volatile memory. The entries will be enumerated in no particular order. This
will only list user created channel patterns. It does not list channels which are created at
power up.
Also see
channel.pattern.setimage
(on page 9-38)
channel.pattern.delete
(on page 9-36)
channel.pattern.getimage
(on page 9-37)
channel.pattern.snapshot
(on page 9-40)
Example
To delete all user created channel patterns:
for name in channel.pattern.catalog() do
channel.pattern.delete(name)
end
To print all user created channel patterns:
for name in channel.pattern.catalog() do
print(name)
end
To print the names and items associated with all user created channel patterns:
for name in channel.pattern.catalog() do
print(name .. " = " ..
channel.pattern.getimage(name))
end
channel.pattern.delete
Function
Deletes a channel pattern.
Usage
channel.pattern.delete(name)
name
: A string representing the name of the channel pattern to delete.