EasyManuals Logo
Home>Keithley>Multimeter>3700A Series

Keithley 3700A Series Reference Manual

Keithley 3700A Series
936 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #705 background imageLoading...
Page #705 background image
Section 11: TSP command reference Series 3700A System Switch/Multimeter Reference Manual
11-326 3700AS-901-01 Rev. D/June 2018
scan.state()
This function provides the present state of a running background scan.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
scanState, scanCount, stepCount, reading = scan.state()
scanState
The present state of the scan running in the background. Possible states include:
â–ª 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 number of scans that have completed
stepCount
The number of steps that have completed
reading
If measurements are made during the scan, this parameter contains the last scan
reading completed
Details
Returns the state of the present scan, the scan count, and the step count.
The scan count is the number of the present iteration through the scan portion of the trigger model.
This number does not increment until the scan begins. Therefore, if the instrument is waiting for an
input to trigger a scan start, the scan count represents the previous number of scan iterations. If no
scan has begun, the scan count is zero.
The step count is the number of times the scan has completed a pass through the channel action
portion of the trigger model. This number does not increment until after the action completes.
Therefore, if the instrument is waiting for an input to trigger a channel action, the step count
represents the previous step. If no step has yet completed, the step count is zero. If the step count
has yet to complete the first step in a subsequent pass through a scan, the scan count represents the
last step in the previous scan pass.
Example
scan.background()
scanState, scanCount, stepCount = scan.state()
print(scanState, scanCount, stepCount)
Runs a scan in the background.
Check the present scan state.
View returned values.
Output shows that scan is running:
2.00000e+00
Also see
scan.background() (on page 11-313)
scan.mode (on page 11-321)
Scanning and triggering (on page 5-23)

Table of Contents

Other manuals for Keithley 3700A Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 3700A Series and is the answer not in the manual?

Keithley 3700A Series Specifications

General IconGeneral
BrandKeithley
Model3700A Series
CategoryMultimeter
LanguageEnglish

Related product manuals