scan
¶
The scan commands module.
These commands are used in the following models: SS3706A
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Attributes and Functions
- scan.abort()
- scan.add()
- scan.addimagestep()
- scan.addwrite()
- scan.background()
- scan.bypass
- scan.create()
- scan.execute()
- scan.list()
- scan.measurecount
- scan.mode
- scan.nobufferbackground()
- scan.nobufferexecute()
- scan.reset()
- scan.scancount
- scan.state()
- scan.stepcount
- scan.trigger.arm.clear()
- scan.trigger.arm.set()
- scan.trigger.arm.stimulus
- scan.trigger.channel.clear()
- scan.trigger.channel.set()
- scan.trigger.channel.stimulus
- scan.trigger.clear()
- scan.trigger.measure.clear()
- scan.trigger.measure.set()
- scan.trigger.measure.stimulus
- scan.trigger.sequence.clear()
- scan.trigger.sequence.set()
- scan.trigger.sequence.stimulus
Scan
¶
Bases: BaseTSPCmd
The scan command tree.
Properties and methods
.abort(): Thescan.abort()function..add(): Thescan.add()function..addimagestep(): Thescan.addimagestep()function..addwrite(): Thescan.addwrite()function..background(): Thescan.background()function..bypass: Thescan.bypassattribute..create(): Thescan.create()function..execute(): Thescan.execute()function..list(): Thescan.list()function..measurecount: Thescan.measurecountattribute..mode: Thescan.modeattribute..nobufferbackground(): Thescan.nobufferbackground()function..nobufferexecute(): Thescan.nobufferexecute()function..reset(): Thescan.reset()function..scancount: Thescan.scancountattribute..state(): Thescan.state()function..stepcount: Thescan.stepcountattribute..trigger: Thescan.triggercommand tree.
bypass
property
writable
¶
bypass: str
Access the scan.bypass attribute.
Description
- This attribute indicates whether the first channel of the scan waits for the channel stimulus event to be satisfied before closing.
Usage
- Accessing this property will send the
print(scan.bypass)query. - Setting this property to a value will send the
scan.bypass = valuecommand.
TSP Syntax
- scan.bypass = value
- print(scan.bypass)
| Raises: |
|
|---|
measurecount
property
writable
¶
measurecount: str
Access the scan.measurecount attribute.
Description
- This attribute sets the number of iterations performed when a scanning measurement is requested.
Usage
- Accessing this property will send the
print(scan.measurecount)query. - Setting this property to a value will send the
scan.measurecount = valuecommand.
TSP Syntax
- scan.measurecount = value
- print(scan.measurecount)
Info
count, the count value being used or read; valid range is 1 to 450000.
| Raises: |
|
|---|
mode
property
writable
¶
mode: str
Access the scan.mode attribute.
Description
- This attribute sets the relay action when the scan starts.
Usage
- Accessing this property will send the
print(scan.mode)query. - Setting this property to a value will send the
scan.mode = valuecommand.
TSP Syntax
- scan.mode = value
- print(scan.mode)
| Raises: |
|
|---|
scancount
property
writable
¶
scancount: str
Access the scan.scancount attribute.
Description
- This attribute sets the number of times the scan is repeated.
Usage
- Accessing this property will send the
print(scan.scancount)query. - Setting this property to a value will send the
scan.scancount = valuecommand.
TSP Syntax
- scan.scancount = value
- print(scan.scancount)
| Raises: |
|
|---|
stepcount
property
¶
stepcount: str
Access the scan.stepcount attribute.
Description
- This attribute returns the number of steps in the present scan.
Usage
- Accessing this property will send the
print(scan.stepcount)query.
TSP Syntax
- print(scan.stepcount)
| Raises: |
|
|---|
trigger
property
¶
trigger: ScanTrigger
Return the scan.trigger command tree.
Sub-properties and sub-methods
.arm: Thescan.trigger.armcommand tree..channel: Thescan.trigger.channelcommand tree..clear(): Thescan.trigger.clear()function..measure: Thescan.trigger.measurecommand tree..sequence: Thescan.trigger.sequencecommand tree.
abort
¶
abort() -> None
Run the scan.abort() function.
Description
- This function aborts a running background scan.
TSP Syntax
- scan.abort()
| Raises: |
|
|---|
add
¶
Run the scan.add() function.
Description
- This function adds channels to the scan list.
TSP Syntax
- scan.add()
| Parameters: |
|
|---|
| Raises: |
|
|---|
addimagestep
¶
Run the scan.addimagestep() function.
Description
- This function allows you to include multiple channels in a single scan step.
TSP Syntax
- scan.addimagestep()
| Parameters: |
|
|---|
| Raises: |
|
|---|
addwrite
¶
Run the scan.addwrite() function.
Description
- This function writes a specified value to a channel at the added step in the scan.
TSP Syntax
- scan.addwrite()
| Parameters: |
|---|
| Raises: |
|
|---|
background
¶
Run the scan.background() function.
Description
- This function starts a scan and runs the scan in the background.
TSP Syntax
- scan.background()
| Parameters: |
|
|---|
| Returns: |
|
|---|
| Raises: |
|
|---|
create
¶
Run the scan.create() function.
Description
- This function deletes the existing scan list and creates a new list of channels and channel patterns to scan.
TSP Syntax
- scan.create()
| Parameters: |
|
|---|
| Raises: |
|
|---|
execute
¶
Run the scan.execute() function.
Description
- This function starts the scan immediately in the foreground with a configured scan list.
TSP Syntax
- scan.execute()
| Parameters: |
|
|---|
| Returns: |
|
|---|
| Raises: |
|
|---|
list
¶
list() -> str
Run the scan.list() function.
Description
- This function queries the active scan list.
TSP Syntax
- scan.list()
| Returns: |
|
|---|
| Raises: |
|
|---|
nobufferbackground
¶
nobufferbackground() -> str
Run the scan.nobufferbackground() function.
Description
- This function starts a scan in background mode and specifies that no reading buffer is used during scanning.
TSP Syntax
- scan.nobufferbackground()
| Returns: |
|
|---|
| Raises: |
|
|---|
nobufferexecute
¶
nobufferexecute() -> None
Run the scan.nobufferexecute() function.
Description
- This function starts a scan immediately and specifies that no reading buffer is used during scanning.
TSP Syntax
- scan.nobufferexecute()
| Raises: |
|
|---|
reset
¶
reset() -> None
Run the scan.reset() function.
Description
- This function resets the trigger model and scan list settings to their factory default settings.
TSP Syntax
- scan.reset()
| Raises: |
|
|---|
state
¶
state() -> str
Run the scan.state() function.
Description
- This function provides the present state of a running background scan.
TSP Syntax
- scan.state()
| Returns: |
|
|---|
| Raises: |
|
|---|
ScanTrigger
¶
Bases: BaseTSPCmd
The scan.trigger command tree.
Properties and methods
.arm: Thescan.trigger.armcommand tree..channel: Thescan.trigger.channelcommand tree..clear(): Thescan.trigger.clear()function..measure: Thescan.trigger.measurecommand tree..sequence: Thescan.trigger.sequencecommand tree.
arm
property
¶
arm: ScanTriggerArm
Return the scan.trigger.arm command tree.
Sub-properties and sub-methods
.clear(): Thescan.trigger.arm.clear()function..set(): Thescan.trigger.arm.set()function..stimulus: Thescan.trigger.arm.stimulusattribute.
channel
property
¶
channel: ScanTriggerChannel
Return the scan.trigger.channel command tree.
Sub-properties and sub-methods
.clear(): Thescan.trigger.channel.clear()function..set(): Thescan.trigger.channel.set()function..stimulus: Thescan.trigger.channel.stimulusattribute.
measure
property
¶
measure: ScanTriggerMeasure
Return the scan.trigger.measure command tree.
Sub-properties and sub-methods
.clear(): Thescan.trigger.measure.clear()function..set(): Thescan.trigger.measure.set()function..stimulus: Thescan.trigger.measure.stimulusattribute.
sequence
property
¶
sequence: ScanTriggerSequence
Return the scan.trigger.sequence command tree.
Sub-properties and sub-methods
.clear(): Thescan.trigger.sequence.clear()function..set(): Thescan.trigger.sequence.set()function..stimulus: Thescan.trigger.sequence.stimulusattribute.
clear
¶
clear() -> None
Run the scan.trigger.clear() function.
Description
- This function clears the trigger model.
TSP Syntax
- scan.trigger.clear()
| Raises: |
|
|---|
ScanTriggerArm
¶
Bases: BaseTSPCmd
The scan.trigger.arm command tree.
Properties and methods
.clear(): Thescan.trigger.arm.clear()function..set(): Thescan.trigger.arm.set()function..stimulus: Thescan.trigger.arm.stimulusattribute.
stimulus
property
writable
¶
stimulus: str
Access the scan.trigger.arm.stimulus attribute.
Description
- This attribute determines which event starts the scan.
Usage
- Accessing this property will send the
print(scan.trigger.arm.stimulus)query. - Setting this property to a value will send the
scan.trigger.arm.stimulus = valuecommand.
TSP Syntax
- scan.trigger.arm.stimulus = value
- print(scan.trigger.arm.stimulus)
| Raises: |
|
|---|
clear
¶
clear() -> None
Run the scan.trigger.arm.clear() function.
Description
- This function clears the arm event detector.
TSP Syntax
- scan.trigger.arm.clear()
| Raises: |
|
|---|
set_
¶
set_() -> None
Run the scan.trigger.arm.set() function.
Description
- This function sets the arm event detector to the detected state.
TSP Syntax
- scan.trigger.arm.set()
| Raises: |
|
|---|
ScanTriggerChannel
¶
Bases: BaseTSPCmd
The scan.trigger.channel command tree.
Properties and methods
.clear(): Thescan.trigger.channel.clear()function..set(): Thescan.trigger.channel.set()function..stimulus: Thescan.trigger.channel.stimulusattribute.
stimulus
property
writable
¶
stimulus: str
Access the scan.trigger.channel.stimulus attribute.
Description
- This attribute determines which trigger events cause the channel actions to occur.
Usage
- Accessing this property will send the
print(scan.trigger.channel.stimulus)query. - Setting this property to a value will send the
scan.trigger.channel.stimulus = valuecommand.
TSP Syntax
- scan.trigger.channel.stimulus = value
- print(scan.trigger.channel.stimulus)
| Raises: |
|
|---|
clear
¶
clear() -> None
Run the scan.trigger.channel.clear() function.
Description
- This function clears the channel event detector.
TSP Syntax
- scan.trigger.channel.clear()
| Raises: |
|
|---|
set_
¶
set_() -> None
Run the scan.trigger.channel.set() function.
Description
- This function sets the channel event detector to the detected state.
TSP Syntax
- scan.trigger.channel.set()
| Raises: |
|
|---|
ScanTriggerMeasure
¶
Bases: BaseTSPCmd
The scan.trigger.measure command tree.
Properties and methods
.clear(): Thescan.trigger.measure.clear()function..set(): Thescan.trigger.measure.set()function..stimulus: Thescan.trigger.measure.stimulusattribute.
stimulus
property
writable
¶
stimulus: str
Access the scan.trigger.measure.stimulus attribute.
Description
- This attribute selects the trigger stimulus of the event detector trigger.
Usage
- Accessing this property will send the
print(scan.trigger.measure.stimulus)query. - Setting this property to a value will send the
scan.trigger.measure.stimulus = valuecommand.
TSP Syntax
- scan.trigger.measure.stimulus = value
- print(scan.trigger.measure.stimulus)
| Raises: |
|
|---|
clear
¶
clear() -> None
Run the scan.trigger.measure.clear() function.
Description
- This function clears the measure event detector.
TSP Syntax
- scan.trigger.measure.clear()
| Raises: |
|
|---|
set_
¶
set_() -> None
Run the scan.trigger.measure.set() function.
Description
- This function sets the measurement event detector to the detected state.
TSP Syntax
- scan.trigger.measure.set()
| Raises: |
|
|---|
ScanTriggerSequence
¶
Bases: BaseTSPCmd
The scan.trigger.sequence command tree.
Properties and methods
.clear(): Thescan.trigger.sequence.clear()function..set(): Thescan.trigger.sequence.set()function..stimulus: Thescan.trigger.sequence.stimulusattribute.
stimulus
property
writable
¶
stimulus: str
Access the scan.trigger.sequence.stimulus attribute.
Description
- This attribute selects the trigger stimulus for the sequence event detector.
Usage
- Accessing this property will send the
print(scan.trigger.sequence.stimulus)query. - Setting this property to a value will send the
scan.trigger.sequence.stimulus = valuecommand.
TSP Syntax
- scan.trigger.sequence.stimulus = value
- print(scan.trigger.sequence.stimulus)
| Raises: |
|
|---|
clear
¶
clear() -> None
Run the scan.trigger.sequence.clear() function.
Description
- This function clears the sequence event detector.
TSP Syntax
- scan.trigger.sequence.clear()
| Raises: |
|
|---|
set_
¶
set_() -> None
Run the scan.trigger.sequence.set() function.
Description
- This function sets the sequence even detector to the detected state.
TSP Syntax
- scan.trigger.sequence.set()
| Raises: |
|
|---|