Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-77
Also see
(on page 11-46)
(on page 11-52)
(on page 11-54)
(on page 11-61)
(on page 11-78)
(on page 11-79)
(on page 11-82)
(on page 11-72)
(on page 11-89)
(on page 11-87)
(on page 11-160)
(on page 11-211)
channel.pattern.catalog()
This function creates a list of the user-created channel patterns.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
for
name
in channel.pattern.catalog() do
...
end
name
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
(on page 11-78)
(on page 11-78)
(on page 11-79)
(on page 11-82)