Section 7: Command reference
Models 707B and 708B Switching Matrix Reference Manual
7-46
707B-901-01 Rev. A / August 2010
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))
end
channel.setforbidden("1A02, 1B01")
for name in channel.pattern.catalog() do
print(name .. " = " ..
channel.pattern.getimage(name))
end
Create three channel patterns, and then print.
Set forbidden for one channel from patternA and
patternB, then print the catalog again. Only
patternC should remain.
Assuming no existing channel patterns, the
output is:
patternC = 1C01,1C02
patternA = 1A01,1A02
patternB = 1B01,1B02
patternC = 1C01,1C02
Also see
(on page 7-18)
channel.setlabel()
This function sets the label associated with a channel.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
System
reset
Channel reset
Create
configuration script
No label
Usage
channel.setlabel(channelList, label)
channelList
A string that lists the channel to set the label associated with it
label
A string that represents the label for items in
channelList
, up to 19 characters