Interactive SourceMeter® Instrument Reference Manual Section 8:
2461-901-01 A/November 2015 8-299
The event can occur before trigger model execution reaches the wait block. If the event occurs after
trigger model execution starts but before the trigger model execution reaches the wait block, the
trigger model records the event. By default, when trigger model execution reaches the wait block, it
executes the wait block without waiting for the event to happen again (the clear parameter is set to
never).
The instrument clears the memory of the recorded event when trigger model execution is at the start
block and when the trigger model exits the wait block. It also clears the recorded trigger event when
the clear parameter is set to enter.
All items in the list are subject to the same action; you cannot combine AND and OR logic in a single
block.
You cannot leave the first event as no trigger. If the first event is not defined, the trigger model errors
when you attempt to initiate it.
The following table shows the constants for the events.
Trigger events
Event description Event constant
Front-panel TRIGGER key press
N
(1 to 8) generates a trigger event when
the trigger model executes it
A command interface trigger:
• Any remote interface: *TRG
• GPIB only: GET bus command
•
VXI-11: VXI-11 command device_trigger
Line edge (either rising, falling, or either based on the
configuration of the line) detected on digital input line N
Line edge detected on TSP-Link synchronization line N
(1 to 3)
Appropriate LXI trigger packet is received on LAN trigger
object N (1 to 8)
Trigger event blender N (1 to 2), which combines trigger
events
Trigger timer N (1 to 4) expired
Source limit condition occurs
trigger.EVENT_SOURCE_LIMIT
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
Wait block (on page 3-110)