Interactive SourceMeter® Instrument Reference Manual Section 8:
2461-901-01 A/November 2015 8-295
Example
digio.line[3].mode = digio.MODE_TRIGGER_OUT
trigger.model.setblock(5, trigger.BLOCK_NOTIFY, trigger.EVENT_NOTIFY2)
trigger.digout[3].stimulus = trigger.EVENT_NOTIFY2
Define trigger model block 5 to be the notify 2 event. Assign the notify 2 event to be the stimulus for digital
output line 3.
Also see
Notify block (on page 3-112)
trigger.model.setblock() —
trigger.BLOCK_RESET_BRANCH_COUNT
This function creates a block in the trigger model that resets a branch counter to 0.
Type TSP-Link accessible Affected by Where saved Default value
Function Yes
Restore configuration
Instrument reset
Configuration script Not applicable
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_RESET_BRANCH_COUNT, counter)
The sequence of the block in the trigger model
The block number of the counter that is to be reset
Details
When the trigger model reaches the Counter Reset block, it resets the count of the specified Branch
on Counter block to zero.