Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Section 8: TSP command reference
DMM7510-901-01 Rev. B / May 2015
8-309
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 3-86)
dmm.measure.limit[Y].low.value
(on page 8-164)
dmm.measure.limit[Y].high.value
(on page 8-163)
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.