User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-243
scan.scancount
Attribute
Set or query the scan count value.
Usage
To read the count:
count = scan.scancount
count: Present scan count value being used
To write the count:
scan.scancount = count
count: Value to set the scan count. Valid range: 1 to 32000.
Remarks
This attribute sets the scan count in the trigger model. During a scan, the Series 3700
will iterate through the arm layer of the trigger model this many times. After performing
this count iterations, the Series 3700 will return to idle.
The reset value for this attribute is 1.
Example
To set the arm count to 5:
scan.scancount = 5
scan.state()
Function
Command to use when running a scan in the background to see present state.
Usage
ScanState = scan.state()
Details
Command to use when running a scan in the background to see present state. See
scan.execute() (on page 13-236) or scan.background() (on page 13-232) for details on
output. This output matches the return values of execute or background command.
Also see
scan.background() (on page 13-232)
scan.execute() (on page 13-236)
Example
To see the current scan state:
ScanState = scan.state()
print(ScanState)
or
print(scan.state())