trigger
¶
The trigger commands module.
These commands are used in the following models: MSMU60_2
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Attributes and Functions
- trigger.model.abort()
- trigger.model.addblock.branch.always()
- trigger.model.addblock.branch.counter()
- trigger.model.addblock.branch.once()
- trigger.model.addblock.branch.onceexcluded()
- trigger.model.addblock.configlist.next()
- trigger.model.addblock.configlist.prev()
- trigger.model.addblock.configlist.recall()
- trigger.model.addblock.delay.constant()
- trigger.model.addblock.logevent()
- trigger.model.addblock.measure()
- trigger.model.addblock.measureoverlapped()
- trigger.model.addblock.nop()
- trigger.model.addblock.reset.branch.counter()
- trigger.model.addblock.source.action.bias()
- trigger.model.addblock.source.action.skip()
- trigger.model.addblock.source.action.step()
- trigger.model.addblock.source.output()
- trigger.model.addblock.wait()
- trigger.model.create()
- trigger.model.delete()
- trigger.model.initiate()
- trigger.model.removeblock()
- trigger.model.state()
Trigger
¶
Bases: BaseTSPCmd
The trigger command tree.
Properties and methods
.model: Thetrigger.modelcommand tree.
model
property
¶
model: TriggerModel
Return the trigger.model command tree.
Sub-properties and sub-methods
.abort(): Thetrigger.model.abort()function..addblock: Thetrigger.model.addblockcommand tree..create(): Thetrigger.model.create()function..delete(): Thetrigger.model.delete()function..initiate(): Thetrigger.model.initiate()function..removeblock(): Thetrigger.model.removeblock()function..state(): Thetrigger.model.state()function.
TriggerModel
¶
Bases: BaseTSPCmd
The trigger.model command tree.
Properties and methods
.abort(): Thetrigger.model.abort()function..addblock: Thetrigger.model.addblockcommand tree..create(): Thetrigger.model.create()function..delete(): Thetrigger.model.delete()function..initiate(): Thetrigger.model.initiate()function..removeblock(): Thetrigger.model.removeblock()function..state(): Thetrigger.model.state()function.
addblock
property
¶
addblock: TriggerModelAddblock
Return the trigger.model.addblock command tree.
Sub-properties and sub-methods
.branch: Thetrigger.model.addblock.branchcommand tree..configlist: Thetrigger.model.addblock.configlistcommand tree..delay: Thetrigger.model.addblock.delaycommand tree..logevent(): Thetrigger.model.addblock.logevent()function..measure(): Thetrigger.model.addblock.measure()function..measureoverlapped(): Thetrigger.model.addblock.measureoverlapped()function..nop(): Thetrigger.model.addblock.nop()function..reset: Thetrigger.model.addblock.resetcommand tree..source: Thetrigger.model.addblock.sourcecommand tree..wait(): Thetrigger.model.addblock.wait()function.
abort
¶
abort(trigger_model_name: str) -> None
Run the trigger.model.abort() function.
Description
- This function stops trigger model execution on the specified module.
TSP Syntax
- trigger.model.abort()
| Parameters: |
|
|---|
| Raises: |
|
|---|
create
¶
create(trigger_model_name: str) -> None
Run the trigger.model.create() function.
Description
- This function creates a trigger model.
TSP Syntax
- trigger.model.create()
| Parameters: |
|
|---|
| Raises: |
|
|---|
delete
¶
delete(trigger_model_name: str) -> None
Run the trigger.model.delete() function.
Description
- This function deletes a trigger model.
TSP Syntax
- trigger.model.delete()
| Parameters: |
|
|---|
| Raises: |
|
|---|
initiate
¶
initiate(trigger_model_name: str) -> None
Run the trigger.model.initiate() function.
Description
- This function starts a specified trigger model on a module.
TSP Syntax
- trigger.model.initiate()
| Parameters: |
|
|---|
| Raises: |
|
|---|
removeblock
¶
Run the trigger.model.removeblock() function.
Description
- This function removes the trigger block from the trigger model.
TSP Syntax
- trigger.model.removeblock()
| Parameters: |
|---|
| Raises: |
|
|---|
state
¶
Run the trigger.model.state() function.
Description
- This function returns the present state of the trigger model.
TSP Syntax
- trigger.model.state()
| Parameters: |
|
|---|
| Returns: |
|
|---|
| Raises: |
|
|---|
TriggerModelAddblock
¶
Bases: BaseTSPCmd
The trigger.model.addblock command tree.
Properties and methods
.branch: Thetrigger.model.addblock.branchcommand tree..configlist: Thetrigger.model.addblock.configlistcommand tree..delay: Thetrigger.model.addblock.delaycommand tree..logevent(): Thetrigger.model.addblock.logevent()function..measure(): Thetrigger.model.addblock.measure()function..measureoverlapped(): Thetrigger.model.addblock.measureoverlapped()function..nop(): Thetrigger.model.addblock.nop()function..reset: Thetrigger.model.addblock.resetcommand tree..source: Thetrigger.model.addblock.sourcecommand tree..wait(): Thetrigger.model.addblock.wait()function.
branch
property
¶
branch: TriggerModelAddblockBranch
Return the trigger.model.addblock.branch command tree.
Sub-properties and sub-methods
.always(): Thetrigger.model.addblock.branch.always()function..counter(): Thetrigger.model.addblock.branch.counter()function..once(): Thetrigger.model.addblock.branch.once()function..onceexcluded(): Thetrigger.model.addblock.branch.onceexcluded()function.
configlist
property
¶
configlist: TriggerModelAddblockConfiglist
Return the trigger.model.addblock.configlist command tree.
Sub-properties and sub-methods
.next(): Thetrigger.model.addblock.configlist.next()function..prev(): Thetrigger.model.addblock.configlist.prev()function..recall(): Thetrigger.model.addblock.configlist.recall()function.
delay
property
¶
delay: TriggerModelAddblockDelay
Return the trigger.model.addblock.delay command tree.
Sub-properties and sub-methods
.constant(): Thetrigger.model.addblock.delay.constant()function.
reset
property
¶
reset: TriggerModelAddblockReset
Return the trigger.model.addblock.reset command tree.
Sub-properties and sub-methods
.branch: Thetrigger.model.addblock.reset.branchcommand tree.
source
property
¶
source: TriggerModelAddblockSource
Return the trigger.model.addblock.source command tree.
Sub-properties and sub-methods
.action: Thetrigger.model.addblock.source.actioncommand tree..output(): Thetrigger.model.addblock.source.output()function.
logevent
¶
Run the trigger.model.addblock.logevent() function.
Description
- This function allows you to log an event in the event log when the trigger model is running.
TSP Syntax
- trigger.model.addblock.logevent()
| Parameters: |
|---|
| Raises: |
|
|---|
measure
¶
Run the trigger.model.addblock.measure() function.
Description
- This function defines a trigger block that makes a measurement.
TSP Syntax
- trigger.model.addblock.measure()
| Parameters: |
|---|
| Raises: |
|
|---|
measureoverlapped
¶
measureoverlapped(
trigger_model_name: str, block_name: str, channel: str, count: str | None = None
) -> None
Run the trigger.model.addblock.measureoverlapped() function.
Description
- This function defines a trigger model block that makes a measurement in an overlapped mode which allows you to measure the response of the device under test while the source is being stepped.
TSP Syntax
- trigger.model.addblock.measureoverlapped()
| Parameters: |
|---|
| Raises: |
|
|---|
nop
¶
Run the trigger.model.addblock.nop() function.
Description
- This function creates a placeholder block that performs no action in the trigger model.
TSP Syntax
- trigger.model.addblock.nop()
| Parameters: |
|---|
| Raises: |
|
|---|
wait
¶
wait(
trigger_model_name: str,
block_name: str,
event: str,
clear: str | None = None,
logic: str | None = None,
event_2: str | None = None,
event_3: str | None = None,
event_4: str | None = None,
) -> None
Run the trigger.model.addblock.wait() function.
Description
- This function defines a trigger model block that waits for an event before allowing the trigger model to continue.
TSP Syntax
- trigger.model.addblock.wait()
| Parameters: |
|
|---|
| Raises: |
|
|---|
TriggerModelAddblockBranch
¶
Bases: BaseTSPCmd
The trigger.model.addblock.branch command tree.
Properties and methods
.always(): Thetrigger.model.addblock.branch.always()function..counter(): Thetrigger.model.addblock.branch.counter()function..once(): Thetrigger.model.addblock.branch.once()function..onceexcluded(): Thetrigger.model.addblock.branch.onceexcluded()function.
always
¶
Run the trigger.model.addblock.branch.always() function.
Description
- This function defines a trigger model block that always branches to a specific block.
TSP Syntax
- trigger.model.addblock.branch.always()
| Parameters: |
|---|
| Raises: |
|
|---|
counter
¶
counter(
trigger_model_name: str, block_name: str, branch_to_block_name: str, target_count: str
) -> None
Run the trigger.model.addblock.branch.counter() function.
Description
- This function defines a trigger model block that branches to a block a specified number of times.
TSP Syntax
- trigger.model.addblock.branch.counter()
| Parameters: |
|---|
| Raises: |
|
|---|
once
¶
Run the trigger.model.addblock.branch.once() function.
Description
- This function causes the trigger model to branch to a specified trigger model block the first time it is encountered in the trigger model.
TSP Syntax
- trigger.model.addblock.branch.once()
| Parameters: |
|---|
| Raises: |
|
|---|
onceexcluded
¶
Run the trigger.model.addblock.branch.onceexcluded() function.
Description
- This function causes the trigger model to branch to a specified trigger model block every time it is encountered in the trigger model except for the first time.
TSP Syntax
- trigger.model.addblock.branch.onceexcluded()
| Parameters: |
|---|
| Raises: |
|
|---|
TriggerModelAddblockConfiglist
¶
Bases: BaseTSPCmd
The trigger.model.addblock.configlist command tree.
Properties and methods
.next(): Thetrigger.model.addblock.configlist.next()function..prev(): Thetrigger.model.addblock.configlist.prev()function..recall(): Thetrigger.model.addblock.configlist.recall()function.
next
¶
Run the trigger.model.addblock.configlist.next() function.
Description
- This function recalls the settings at the next index of a configuration list.
TSP Syntax
- trigger.model.addblock.configlist.next()
| Parameters: |
|---|
| Raises: |
|
|---|
prev
¶
Run the trigger.model.addblock.configlist.prev() function.
Description
- This function defines a trigger model block that recalls the settings stored at the previous index in a configuration list.
TSP Syntax
- trigger.model.addblock.configlist.prev()
| Parameters: |
|---|
| Raises: |
|
|---|
recall
¶
recall(
trigger_model_name: str, block_name: str, channel: str, configlist_name: str, index: int
) -> None
Run the trigger.model.addblock.configlist.recall() function.
Description
- This function recalls the system settings that are stored in a configuration list.
TSP Syntax
- trigger.model.addblock.configlist.recall()
| Parameters: |
|
|---|
| Raises: |
|
|---|
TriggerModelAddblockDelay
¶
Bases: BaseTSPCmd
The trigger.model.addblock.delay command tree.
Properties and methods
.constant(): Thetrigger.model.addblock.delay.constant()function.
constant
¶
constant(
trigger_model_name: str,
block_name: str,
delay_time: str | None = None,
reference_block_name: str | None = None,
) -> None
Run the trigger.model.addblock.delay.constant() function.
Description
- This function adds a constant delay to the execution of a trigger model.
TSP Syntax
- trigger.model.addblock.delay.constant()
| Parameters: |
|
|---|
| Raises: |
|
|---|
TriggerModelAddblockReset
¶
Bases: BaseTSPCmd
The trigger.model.addblock.reset command tree.
Properties and methods
.branch: Thetrigger.model.addblock.reset.branchcommand tree.
branch
property
¶
branch: TriggerModelAddblockResetBranch
Return the trigger.model.addblock.reset.branch command tree.
Sub-properties and sub-methods
.counter(): Thetrigger.model.addblock.reset.branch.counter()function.
TriggerModelAddblockResetBranch
¶
Bases: BaseTSPCmd
The trigger.model.addblock.reset.branch command tree.
Properties and methods
.counter(): Thetrigger.model.addblock.reset.branch.counter()function.
counter
¶
Run the trigger.model.addblock.reset.branch.counter() function.
Description
- This function defines a trigger model block that resets the count for a branch counter block.
TSP Syntax
- trigger.model.addblock.reset.branch.counter()
| Parameters: |
|---|
| Raises: |
|
|---|
TriggerModelAddblockSource
¶
Bases: BaseTSPCmd
The trigger.model.addblock.source command tree.
Properties and methods
.action: Thetrigger.model.addblock.source.actioncommand tree..output(): Thetrigger.model.addblock.source.output()function.
action
property
¶
action: TriggerModelAddblockSourceAction
Return the trigger.model.addblock.source.action command tree.
Sub-properties and sub-methods
.bias(): Thetrigger.model.addblock.source.action.bias()function..skip(): Thetrigger.model.addblock.source.action.skip()function..step(): Thetrigger.model.addblock.source.action.step()function.
output
¶
Run the trigger.model.addblock.source.output() function.
Description
- This function defines a trigger model block that turns the output source on or off.
TSP Syntax
- trigger.model.addblock.source.output()
| Parameters: |
|---|
| Raises: |
|
|---|
TriggerModelAddblockSourceAction
¶
Bases: BaseTSPCmd
The trigger.model.addblock.source.action command tree.
Properties and methods
.bias(): Thetrigger.model.addblock.source.action.bias()function..skip(): Thetrigger.model.addblock.source.action.skip()function..step(): Thetrigger.model.addblock.source.action.step()function.
bias
¶
Run the trigger.model.addblock.source.action.bias() function.
Description
- This function creates a block that sets the source output level to the bias level.
TSP Syntax
- trigger.model.addblock.source.action.bias()
| Parameters: |
|---|
| Raises: |
|
|---|
skip
¶
Run the trigger.model.addblock.source.action.skip() function.
Description
- This function defines a trigger model block that skips a step in the sweep operation on the specified channel.
TSP Syntax
- trigger.model.addblock.source.action.skip()
| Parameters: |
|---|
| Raises: |
|
|---|
step
¶
Run the trigger.model.addblock.source.action.step() function.
Description
- This function defines a trigger model block that advances the source output to the next point of the sweep for the specified channel.
TSP Syntax
- trigger.model.addblock.source.action.step()
| Parameters: |
|---|
| Raises: |
|
|---|