8: TSP command reference Model 2461 Interactive SourceMeter® Instrument Refere
8-280 2461-901-01 A/November 2015
Details
The branch-on-event block goes to a branching block after a specified trigger event occurs. If the
trigger event has not yet occurred when the trigger model reaches the branch-on-event block, the
trigger model continues to execute the blocks in the normal sequence. After the trigger event occurs,
the next time the trigger model reaches the branch-on-event block, it goes to the branching block.
If you set the branch event to none, an error is generated when you run the trigger model.
The following table shows the constants for the events.
Trigger events
Event description Event constant
Front-panel TRIGGER key press
Notify trigger block 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
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(6, trigger.BLOCK_BRANCH_ON_EVENT, trigger.EVENT_DISPLAY,
2)
When the trigger model reaches this block, if the front-panel TRIGGER key has been pressed, the trigger
model returns to block 2. If the TRIGGER key has not been pressed, the trigger model continues to block 7
(the next block in the trigger model).
Also see
On event block (on page 3-118)