Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-163
scan.execute
Remarks
This command specifies the reading buffer to use during scanning and runs the scan in
immediate mode. The reading buffer will store the reading and accompanying attributes
desired for the scan. This command starts the scan. Prior to using this command use
scan.create and scan.add to setup scan elements.
The command will not exit execution until scanning completes or is aborted by the user.
An error will be generated if the reading buffer does not exist or the parameter is not a
reading buffer.
Also see
scan.add
(on page 9-157)
scan.background
(on page 9-159)
scan.create
(on page 9-160)
scan.state
(on page 9-167)
Example
To use reading buffer
rbbuff1
and run scan in immediate mode:
scan.execute (rbbuff1)
scan.list
Function
Use to query the existing scan list.
Usage
MyScanList = scan.list()
Remarks
This command will list out the existing scan list.
scan.measurecount
Attribute
Set or query the measure count value.
Usage
To read the count:
count = scan.measurecount
count
: Present measure count value being used
To write the count:
scan.measurecount = count
count
: Value to set the measure count. Valid range: 1 to 32000.
Remarks
This attribute sets the measure count in the trigger model. During a scan, the Series
3700 will iterate through the sequence event detector and measure action of the trigger
model this many times. After performing this count iterations, the Series 3700 will
return to check the trigger count.
The reset value for this attribute is 1.
Details
The measure count value:
is the number of measurements to take per scan step
must be set before a scan is created
applies to scan steps to be added, it does not apply to already added steps
Example
To set the measure count to 5:
scan.trigger.measure.count = 5