
Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-160
Document Number: 3700S-901-01 Rev. A / August 2007
scan.background
Remarks
This command specifies the reading buffer to use during scanning and the scan is
executed in the background. 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.
Since scan is running in the background use scan.state function to see current status of
scanning.
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.create
(on page 9-160)
scan.execute
(on page 9-162)
scan.state
(on page 9-167)
Example
To use reading buffer
rbbuff1
and run scan in background:
scan.background(rbbuff1)
scan.bypass
Attribute
Bypasses the first channel in the scans requirement for scan.trigger.channel.stimulus
settings.
Usage
To read the bypass state:
bypass = scan.bypass
To write the state of the beeper:
beeper.enable = beeperstate
bypass
: The state of the bypass. Set bypass to one of the following values:
OFF or 0: Bypass disabled
ON or 1: Bypass enabled (default)
Remarks
When scan.bypass is ON (default), once the scan.trigger.arm.stimulus is satisfied, the
first channel of the scan closes regardless of the scan.trigger.channel.stimulus
settings. For channels other than the first, the channel stimulus must be satisfied
before the channel action takes place.
With bypass OFF, every channel (including the first) needs to have the
scan.trigger.channel.stimulus settings satisfied before the channel action occurs for
that step.
Also see
scan.trigger.arm.stimulus
(on page 9-168)
scan.trigger.channel.stimulus
(on page 9-170)
Example
To display the present bypass state:
print(scan.bypass)