Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-77
Also see
channel.close() (on page 11-46)
channel.exclusiveclose() (on page 11-52)
channel.exclusiveslotclose() (on page 11-54)
channel.getclose() (on page 11-58)
channel.getdelay() (on page 11-61)
channel.pattern.getimage() (on page 11-78)
channel.pattern.setimage() (on page 11-79)
channel.pattern.snapshot() (on page 11-82)
channel.getstate() (on page 11-72)
channel.setdelay() (on page 11-89)
channel.setforbidden() (on page 11-90)
channel.setbackplane() (on page 11-87)
dmm.close() (on page 11-160)
dmm.open() (on page 11-211)
channel.pattern.catalog()
This function creates a list of the user-created channel patterns.
Usage
for name in channel.pattern.catalog() do
...
end
The user-defined name of the channel pattern that is assigned by the catalog
function during the for loop
Details
This function allows you to print or delete all user-created channel patterns in the run-time
environment. The entries that are returned are listed in random order.
Example
channel.pattern.setimage("3001,3031",
"patternA")
channel.pattern.setimage("3002,3032",
"patternB")
channel.pattern.setimage("3003,3033",
"patternC")
for name in channel.pattern.catalog() do
print(name .. " = " ..
channel.pattern.getimage(name))
channel.pattern.delete(name)
end
This example prints the names and items
associated with all user-created channel
patterns. It then deletes the channel pattern.
patternC = 3003,3033
patternA = 3001,3031
patternB = 3002,3032
Also see
channel.pattern.delete() (on page 11-78)
channel.pattern.getimage() (on page 11-78)
channel.pattern.setimage() (on page 11-79)
channel.pattern.snapshot() (on page 11-82)