Section 7: Command reference
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
Also see
channel.clearforbidden()
channel.getforbidden()
channel.setlabel()
This function sets the label associated with a channel.
Type
TSP-Link accessible
Function
Yes
Usage
channel.setlabel(channelList, label)
channelList
label
7-46
(on page 7-18)
(on page 7-30)
Affected by
System reset
Channel reset
A string that lists the channel to set the label associated with it
A string that represents the label for items in channelList, up to 19 characters
Models 707B and 708B Switching Matrix Reference Manual
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
Where saved
Default value
Create
No label
configuration script
707B-901-01 Rev. A / August 2010