Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-250
2470-901-01 Rev. A /
May
2019
Trigger events
Event description
Event constant
Trigger event blender
N
(1 to 2), which combines trigger
events
trigger.EVENT_BLENDER
N
Appropriate LXI trigger packet is received on LAN trigger
object
N
(1 to 8)
trigger.EVENT_LAN
N
No trigger event
trigger.EVENT_NONE
Notify trigger block
N
(1 to 8) generates a trigger event when
the trigger model executes it
trigger.EVENT_NOTIFY
N
Source limit condition occurs
trigger.EVENT_SOURCE_LIMIT
Trigger timer
N
(1 to 4) expired
trigger.EVENT_TIMER
N
Line edge detected on TSP-Link synchronization line
N
(1 to 3)
trigger.EVENT_TSPLINK
N
Example
trigger.model.setblock(9, trigger.BLOCK_WAIT, trigger.EVENT_DISPLAY)
Set trigger model block 9 to wait for a user to press the TRIGGER key on the front panel before continuing.
Also see
(on page 8-29)
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_ABORTED
trigger.STATE_ABORTING
trigger.STATE_BUILDING
trigger.STATE_EMPTY
trigger.STATE_FAILED
trigger.STATE_IDLE
trigger.STATE_RUNNING
trigger.STATE_WAITING
n
The last trigger model block that was executed