scan
¶
The scan commands module.
These commands are used in the following models: DMM6500
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Attributes and Functions
- scan.add()
- scan.addsinglestep()
- scan.buffer
- scan.bypass
- scan.channel.stimulus
- scan.create()
- scan.export()
- scan.learnlimits()
- scan.list()
- scan.measure.interval
- scan.measure.stimulus
- scan.mode
- scan.monitor.channel
- scan.monitor.limit.high.value
- scan.monitor.limit.low.value
- scan.monitor.mode
- scan.restart
- scan.scancount
- scan.scaninterval
- scan.start.stimulus
- scan.stepcount
Scan
¶
Bases: BaseTSPCmd
The scan command tree.
Properties and methods
.add(): Thescan.add()function..addsinglestep(): Thescan.addsinglestep()function..buffer: Thescan.bufferattribute..bypass: Thescan.bypassattribute..channel: Thescan.channelcommand tree..create(): Thescan.create()function..export(): Thescan.export()function..learnlimits(): Thescan.learnlimits()function..list(): Thescan.list()function..measure: Thescan.measurecommand tree..mode: Thescan.modeattribute..monitor: Thescan.monitorcommand tree..restart: Thescan.restartattribute..scancount: Thescan.scancountattribute..scaninterval: Thescan.scanintervalattribute..start: Thescan.startcommand tree..stepcount: Thescan.stepcountattribute.
buffer
property
writable
¶
buffer: str
Access the scan.buffer attribute.
Description
- This attribute defines which buffer is used with the scan.
Usage
- Accessing this property will send the
print(scan.buffer)query. - Setting this property to a value will send the
scan.buffer = valuecommand.
TSP Syntax
- scan.buffer = value
- print(scan.buffer)
| Raises: |
|
|---|
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: |
|
|---|
channel
property
¶
channel: ScanChannel
Return the scan.channel command tree.
Sub-properties and sub-methods
.stimulus: Thescan.channel.stimulusattribute.
measure
property
¶
measure: ScanMeasure
Return the scan.measure command tree.
Sub-properties and sub-methods
.interval: Thescan.measure.intervalattribute..stimulus: Thescan.measure.stimulusattribute.
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: |
|
|---|
monitor
property
¶
monitor: ScanMonitor
Return the scan.monitor command tree.
Sub-properties and sub-methods
.channel: Thescan.monitor.channelattribute..limit: Thescan.monitor.limitcommand tree..mode: Thescan.monitor.modeattribute.
restart
property
writable
¶
restart: str
Access the scan.restart attribute.
Description
- This function causes a scan to automatically restart if it was interrupted by a power failure.
Usage
- Accessing this property will send the
print(scan.restart)query. - Setting this property to a value will send the
scan.restart = valuecommand.
TSP Syntax
- scan.restart = value
- print(scan.restart)
| 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: |
|
|---|
scaninterval
property
writable
¶
scaninterval: str
Access the scan.scaninterval attribute.
Description
- This attribute specifies the interval time between scan starts when the scan count is more than one.
Usage
- Accessing this property will send the
print(scan.scaninterval)query. - Setting this property to a value will send the
scan.scaninterval = valuecommand.
TSP Syntax
- scan.scaninterval = value
- print(scan.scaninterval)
| Raises: |
|
|---|
start
property
¶
start: ScanStart
Return the scan.start command tree.
Sub-properties and sub-methods
.stimulus: Thescan.start.stimulusattribute.
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: |
|
|---|
add
¶
Run the scan.add() function.
Description
- This function adds channels to the scan list.
TSP Syntax
- scan.add()
| Parameters: |
|
|---|
| Raises: |
|
|---|
addsinglestep
¶
Run the scan.addsinglestep() function.
Description
- This function allows you to include multiple channels in a single scan step.
TSP Syntax
- scan.addsinglestep()
| Parameters: |
|
|---|
| Raises: |
|
|---|
create
¶
create(
channel_list: str | None = None, config_list: str | None = None, index: int | None = None
) -> None
Run the scan.create() function.
Description
- This function deletes the existing scan list and creates a new list of channels and channel patterns and channel patterns to scan.
TSP Syntax
- scan.create()
| Parameters: |
|
|---|
| Raises: |
|
|---|
export
¶
Run the scan.export() function.
Description
- This command stores data from a scan to a file on a USB flash drive.
TSP Syntax
- scan.export()
| Parameters: |
|---|
| Raises: |
|
|---|
learnlimits
¶
Run the scan.learnlimits() function.
Description
- This function calculates alarm limits based on the present configuration of the system.
TSP Syntax
- scan.learnlimits()
| Parameters: |
|
|---|
| Raises: |
|
|---|
list
¶
list() -> str
Run the scan.list() function.
Description
- This function queries the active scan list.
TSP Syntax
- scan.list()
| Returns: |
|
|---|
| Raises: |
|
|---|
ScanChannel
¶
Bases: BaseTSPCmd
The scan.channel command tree.
Properties and methods
.stimulus: Thescan.channel.stimulusattribute.
stimulus
property
writable
¶
stimulus: str
Access the scan.channel.stimulus attribute.
Description
- This attribute determines which trigger event causes the channel action to occur.
Usage
- Accessing this property will send the
print(scan.channel.stimulus)query. - Setting this property to a value will send the
scan.channel.stimulus = valuecommand.
TSP Syntax
- scan.channel.stimulus = value
- print(scan.channel.stimulus)
| Raises: |
|
|---|
ScanMeasure
¶
Bases: BaseTSPCmd
The scan.measure command tree.
Properties and methods
.interval: Thescan.measure.intervalattribute..stimulus: Thescan.measure.stimulusattribute.
interval
property
writable
¶
interval: str
Access the scan.measure.interval attribute.
Description
- This attribute specifies the interval time between measurement requests.
Usage
- Accessing this property will send the
print(scan.measure.interval)query. - Setting this property to a value will send the
scan.measure.interval = valuecommand.
TSP Syntax
- scan.measure.interval = value
- print(scan.measure.interval)
| Raises: |
|
|---|
stimulus
property
writable
¶
stimulus: str
Access the scan.measure.stimulus attribute.
Description
- This attribute selects the trigger for the measurement.
Usage
- Accessing this property will send the
print(scan.measure.stimulus)query. - Setting this property to a value will send the
scan.measure.stimulus = valuecommand.
TSP Syntax
- scan.measure.stimulus = value
- print(scan.measure.stimulus)
| Raises: |
|
|---|
ScanMonitor
¶
Bases: BaseTSPCmd
The scan.monitor command tree.
Properties and methods
.channel: Thescan.monitor.channelattribute..limit: Thescan.monitor.limitcommand tree..mode: Thescan.monitor.modeattribute.
channel
property
writable
¶
channel: str
Access the scan.monitor.channel attribute.
Description
- This attribute defines which channel to monitor for a limit to be reached before starting the scan.
Usage
- Accessing this property will send the
print(scan.monitor.channel)query. - Setting this property to a value will send the
scan.monitor.channel = valuecommand.
TSP Syntax
- scan.monitor.channel = value
- print(scan.monitor.channel)
| Raises: |
|
|---|
limit
property
¶
limit: ScanMonitorLimit
Return the scan.monitor.limit command tree.
Sub-properties and sub-methods
.high: Thescan.monitor.limit.highcommand tree..low: Thescan.monitor.limit.lowcommand tree.
mode
property
writable
¶
mode: str
Access the scan.monitor.mode attribute.
Description
- This attribute determines if a scan starts immediately when triggered or after measurements reach a set value.
Usage
- Accessing this property will send the
print(scan.monitor.mode)query. - Setting this property to a value will send the
scan.monitor.mode = valuecommand.
TSP Syntax
- scan.monitor.mode = value
- print(scan.monitor.mode)
| Raises: |
|
|---|
ScanMonitorLimit
¶
Bases: BaseTSPCmd
The scan.monitor.limit command tree.
Properties and methods
.high: Thescan.monitor.limit.highcommand tree..low: Thescan.monitor.limit.lowcommand tree.
high
property
¶
high: ScanMonitorLimitHigh
Return the scan.monitor.limit.high command tree.
Sub-properties and sub-methods
.value: Thescan.monitor.limit.high.valueattribute.
low
property
¶
low: ScanMonitorLimitLow
Return the scan.monitor.limit.low command tree.
Sub-properties and sub-methods
.value: Thescan.monitor.limit.low.valueattribute.
ScanMonitorLimitHigh
¶
Bases: BaseTSPCmd
The scan.monitor.limit.high command tree.
Properties and methods
.value: Thescan.monitor.limit.high.valueattribute.
value
property
writable
¶
value: str
Access the scan.monitor.limit.high.value attribute.
Description
- This attribute specifies the high limit to be used by the scan monitor.
Usage
- Accessing this property will send the
print(scan.monitor.limit.high.value)query. - Setting this property to a value will send the
scan.monitor.limit.high.value = valuecommand.
TSP Syntax
- scan.monitor.limit.high.value = value
- print(scan.monitor.limit.high.value)
| Raises: |
|
|---|
ScanMonitorLimitLow
¶
Bases: BaseTSPCmd
The scan.monitor.limit.low command tree.
Properties and methods
.value: Thescan.monitor.limit.low.valueattribute.
value
property
writable
¶
value: str
Access the scan.monitor.limit.low.value attribute.
Description
- This attribute defines the low limit to be used by the scan monitor.
Usage
- Accessing this property will send the
print(scan.monitor.limit.low.value)query. - Setting this property to a value will send the
scan.monitor.limit.low.value = valuecommand.
TSP Syntax
- scan.monitor.limit.low.value = value
- print(scan.monitor.limit.low.value)
| Raises: |
|
|---|
ScanStart
¶
Bases: BaseTSPCmd
The scan.start command tree.
Properties and methods
.stimulus: Thescan.start.stimulusattribute.
stimulus
property
writable
¶
stimulus: str
Access the scan.start.stimulus attribute.
Description
- This attribute determines which event starts the scan.
Usage
- Accessing this property will send the
print(scan.start.stimulus)query. - Setting this property to a value will send the
scan.start.stimulus = valuecommand.
TSP Syntax
- scan.start.stimulus = value
- print(scan.start.stimulus)
| Raises: |
|
|---|