Models 707B and 708B Switching Matrix Reference Manual
Section 7: TSP command reference
707B-901-01 Rev. B / January 2015
7-139
scan.background()
This function starts a scan and runs the scan in the background.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
state
,
scanCount
,
stepCount
= scan.background()
state
The result of scanning:
scan.EMPTY
or
0
scan.BUILDING
or
1
scan.RUNNING
or
2
scan.ABORTED
or
3
scan.FAILED
or
4
scan.FAILED_INIT
or
5
scan.SUCCESS
or
6
scanCount
The present number of scans completed
stepCount
The present number of steps completed
Details
Before using this command, use
scan.create()
and
scan.add()
or
scan.addimagestep()
to
set up a scan list.
When the scan is run in the background, you must use the
scan.state()
function to check the
status of the scan.
Example
scan.background()
Runs a scan in the background.
Also see
(on page 7-136)
(on page 7-141)
(on page 7-142)
(on page 7-143)
(on page 7-148)
(on page 3-1)