EasyManua.ls Logo

Keithley 2461 - Trigger.model.state()

Keithley 2461
1109 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section
8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
Reference Manual
8-300 2461-901-01 A/November 2015
trigger.model.state()
This function returns the present state of the trigger model.
Type TSP-Link accessible
Affected by Where saved Default value
Function
Yes
Usage
status, status, n = trigger.model.state()
status
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
n
The last trigger model block that was executed
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())
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

Table of Contents

Other manuals for Keithley 2461

Related product manuals