Section 7: Command reference
Models 707B and 708B Switching Matrix Reference Manual
7-144
707B-901-01 Rev. A / August 2010
Example
scan.create()
scan.add("1D01")
scan.addimagestep("1A01, 1B01, 1C03")
scan.add("1F03")
scan.addimagestep("1A03, 1B03, 1C03")
scan.addimagestep("1A05, 1B05, 1C03")
scan.addimagestep("1A07, 1B07, 1C03")
scan.addimagestep("1A09, 1B09, 1C03")
print(scan.list())
Generate a scan list that has multiple
steps, with some steps that include
multiple channels.
Output:
Init) OPEN...
1) STEP: 1D01
CLOSE: 1D01
2) STEP: 1A01, 1B01, 1C03
OPEN: 1D01
CLOSE: 1A01 1B01 1C03
3) STEP: 1F03
OPEN: 1A01 1B01 1C03
CLOSE: 1F03
4) STEP: 1A03, 1B03, 1C03
OPEN: 1F03
CLOSE: 1A03 1B03 1C03
5) STEP: 1A05, 1B05, 1C03
OPEN: 1A03 1B03
CLOSE: 1A05 1B05
6) STEP: 1A07, 1B07, 1C03
OPEN: 1A05 1B05
CLOSE: 1A07 1B07
7) STEP: 1A09, 1B09, 1C03
OPEN: 1A07 1B07
CLOSE: 1A09 1B09
Also see
(on page 7-142)
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()