Models 707B and 708B Switching Matrix Reference Manual
Section 7: TSP command reference
707B-901-01 Rev. B / January 2015
7-141
scan.create()
This function deletes the existing scan list and creates a new list of channels and channel patterns to scan.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
scan.create(
channelList
)
channelList
String specifying channels to add
Details
The existing scan list is lost after calling this function.
The items in
channelList
are scanned in the order listed.
If a forbidden channel is included in a range of channels or slot parameter (such as slot 1), the
forbidden channel is ignored and no error is generated. If a forbidden channel is individually specified
in the channel list, an error is generated.
If an error occurs, the scan list of channels or channel patterns is cleared, even though no new scan
list is created.
The function
scan.reset()
clears the list. To clear the scan list without performing a scan reset,
send an empty string for the
channelList
parameter.
Example 1
scan.create("1A01:1A10")
Replaces the active scan list with an empty
scan list, and then adds channels
1A01
through
1A10
on slot 1.
Example 2
scan.create()
for column = 1, 10 do
scan.add(channel.createspecifier(1,1,column
))
end
Replaces the active scan list with an empty
scan list.
Loops through column 1 to 10 on row 1 of slot
1 to add ten channels to the scan list. The
channel.createspecifier()
command
generates the parameters.
The scan list now has, in order, row 1,
columns 1 through 10, on slot 1.
Also see
(on page 7-136)
(on page 7-146)
(on page 3-1)