Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-232
2470-901-01 Rev. A /
May
2019
Limit values are stored in the measure configuration list, so you can use a configuration list to step
through different limit values.
The measure block must occur in the trigger model before the branch-on-dynamic-limits block. If no
block is defined, the measurement from the previous measure block is used. If no previous measure
block exists, an error is reported.
Example
trigger.model.setblock(7, trigger.BLOCK_BRANCH_LIMIT_DYNAMIC,
trigger.LIMIT_OUTSIDE, 2, 10, 5)
Configure block 7 to check if limit 2 is outside its limit values, based on the measurements made in block 5. If
values are outside the measurements, branch to block 10. If the values are not outside the measurements,
trigger model execution continues to block 8.
Also see
(on page 8-40)
smu.measure.limit[Y].low.value
(on page 14-133)
smu.measure.limit[Y].high.value
trigger.model.setblock() — trigger.BLOCK_BRANCH_ON_EVENT
This function branches to a specified block when a specified trigger event occurs.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Restore configuration
Instrument reset
Power cycle
Configuration script
Not applicable
Usage
trigger.model.setblock(
blockNumber
, trigger.BLOCK_BRANCH_ON_EVENT,
event
,
branchToBlock)
blockNumber
The sequence of the block in the trigger model
event
The event that must occur before the trigger model branches the specified block
branchToBlock
The block number of the trigger model block to execute when the specified event
occurs
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.