8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
8-192 2450-901-01 Rev. B/September 2013
This example uses the Simple Loop trigger model template to do a capacitor test. This example outputs 200
readings that have output similar to the following example output:
Rdg # Time (s) Current (A)
1 0 8.5718931952528e-11
2 0.151875 1.6215984111057e-10
3 0.303727 1.5521139928865e-10
. . .
198 29.91579194 1.5521250951167e-10
199 30.067648716 1.4131290582142e-10
200 30.219497716 1.5521067764368e-10
Also see
None
trigger.model.setblock() — trigger.BLOCK_BRANCH_ALWAYS
This function defines a trigger model block that always goes to a specific block.
Type TSP-Link accessible Affected by Where saved Default value
Instrument reset
Power cycle
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_BRANCH_ALWAYS, branchToBlock)
The sequence of the block in the trigger model
The block number of the trigger model block to execute when the trigger model
Details
When the trigger model reaches a branch-always building block, it goes to the building block set by
branchToBlock.
Example
trigger.model.setblock(6, trigger.BLOCK_BRANCH_ALWAYS, 20)
When the trigger model reaches block 6, always branch to block 20.
Also see
None