8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
8-198 2450-901-01 Rev. B/September 2013
Details
The branch-on-event building 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.
The event can be one of the events shown in the following table.
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 occurred:
• 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
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
N
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 (on page 3-99)