Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-37
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
String representing the user-defined name of the channel pattern.
Details
This function allows you to print or delete all user-created channel patterns in the runtime environment. The
entries that are returned are listed in random order.
Example
channel.pattern.setimage("1A01,1A02",
"patternA")
channel.pattern.setimage("1B01,1B02",
"patternB")
channel.pattern.setimage("1C01,1C02",
"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 = 1C01,1C02
patternA = 1A01,1A02
patternB = 1B01,1B02
Also see
(on page 7-38)
(on page 7-38)
(on page 7-39)
(on page 7-41)