Section 7: TSP command reference
Models 707B and 708B Switching Matrix Reference Manual
7-136
707B-901-01 Rev. B / January 2015
Example
scan.background()
scan.abort()
Starts background scan, and then aborts the
scan.
Also see
(on page 7-139)
(on page 3-1)
scan.add()
This function adds a scan step to the scan list.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
scan.add(
channelList
)
channelList
String specifying channels to add using normal channel list syntax
Details
Use this function to add channels and channel patterns to the present scan list. If the scan list does
not exist, it also creates a scan list. See
scan.create()
for information about creating a scan list.
Channels and channel patterns added using the
scan.add()
function are added to the end of the
present list (appended) in the same order as specified in
channelList
. Specifying multiple channels
in
channelList
adds multiple steps to the scan.
If an error is encountered as channels are added to the list, subsequent channels in that channel list
will not be added.
Example 1
scan.create()
for column = 1,5 do
scan.add(channel.createspecifier(1,1,column
))
end
Replaces the active scan list with an empty
scan list.
Loops through columns 1 to 5.
Adds five channels to the scan list using the
channel.createspecifier()
command.
The scan list now has row 1, columns 1 to 5
on slot 1 as the first five steps.