High Voltage SourceMeter Instrument Reference Manual Section 14:
2470-901-01 Rev. A / May 2019 14-251
Details
This command returns the state of the trigger model. The instrument checks the state of a started
trigger model every 100 ms.
This command returns the trigger state and the block that the trigger model last executed.
The trigger model states are:
• Idle: The trigger model is stopped
• Running: The trigger model is running
• Waiting: The trigger model has been in the same wait block for more than 100 ms
• Empty: The trigger model is selected, but no blocks are defined
• Building: Blocks have been added
• Failed: The trigger model is stopped because of an error
• Aborting: The trigger model is stopping
• Aborted: The trigger model is stopped
Example
print(trigger.model.state())
An example output if the trigger model is waiting and is at block
9 would be:
trigger.STATE_WAITING trigger.STATE_EMPTY 9
Also see
None
trigger.timer[N].clear()
This function clears the timer event detector and overrun indicator for the specified trigger timer number.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
trigger.timer[N].clear()
Trigger timer number (1 to 4)
Details
This command sets the timer event detector to the undetected state and resets the overrun indicator.
Example
Also see
trigger.timer[N].count (on page 14-252)