Trigger.model.state() - Keithley DMM7510 Reference Manual

7 1/2 digit graphical sampling multimeter
Hide thumbs Also See for DMM7510:
Table of Contents

Advertisement

Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual

trigger.model.state()

This function returns the present state of the trigger model.
Type
TSP-Link accessible
Function
Yes
Usage
status, status, n = trigger.model.state()
status
n
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 because of a user request.
Aborted: The trigger model is stopped because of a user request.
Example
print(trigger.model.state())
Also see
None
DMM7510-901-01 Rev. B / May 2015
Affected by
Where saved
The status of the trigger model:
trigger.STATE_IDLE
trigger.STATE_RUNNING
trigger.STATE_WAITING
trigger.STATE_EMPTY
trigger.STATE_BUILDING
trigger.STATE_FAILED
trigger.STATE_ABORTING
trigger.STATE_ABORTED
The last trigger model block that was executed
An example output if the trigger model is waiting and is at block 9
would be:
trigger.STATE_WAITING trigger.STATE_WAITING 9
Section 8: TSP command reference
Default value
8-327

Advertisement

Table of Contents
loading

Table of Contents