Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Section 8: TSP command reference
DMM7510-901-01 Rev. B / May 2015
8-303
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
Function
Yes
Restore configuration
Instrument reset
Power cycle
Configuration script
Not applicable
Usage
trigger.model.setblock(
blockNumber
, trigger.BLOCK_BRANCH_ALWAYS,
branchToBlock
)
blockNumber
The sequence of the block in the trigger model
branchToBlock
The block number to execute when the trigger model reaches the Always block
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