High Voltage SourceMeter Instrument Reference Manual Section 14:
2470-901-01 Rev. A / May 2019 14-233
The following table shows the constants for the events.
Trigger events
Event description Event constant
N
(1 to 2), which combines trigger
events
A command interface trigger:
ï‚§ Any remote interface: *TRG
ï‚§ GPIB only: GET bus command
ï‚§ USB only: A USBTMC TRIGGER message
ï‚§ VXI-11: VXI-11 command device_trigger
Digital input line edge (either rising, falling, or either based on
the configuration of the line) detected on digital input line N
(1 to 6)
Front-panel TRIGGER key press
Appropriate LXI trigger packet is received on LAN trigger
object N (1 to 8)
N
(1 to 8) generates a trigger event when
the trigger model executes it
Source limit condition occurs
trigger.EVENT_SOURCE_LIMIT
Trigger timer N (1 to 4) expired
Line edge detected on TSP-Link synchronization line
N
(1 to 3)
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 8-37)
trigger.model.setblock() — trigger.BLOCK_BRANCH_ONCE
This function causes the trigger model to branch to a specified building block the first time it is encountered in the
trigger model.
Type TSP-Link accessible Affected by Where saved Default value
Instrument reset
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_BRANCH_ONCE, branchToBlock)
The sequence of the block in the trigger model
The block number of the trigger model block to execute when the trigger model first
encounters this block