Trigger.model.setblock() — Trigger.block_Branch_Once - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2450 Interactive SourceMeter® Instrument Reference Manual
trigger.model.setblock() — trigger.BLOCK_BRANCH_ONCE
This attribute causes the trigger model to branch to a specified building block the first time it is encountered in the
trigger model.
Type
TSP-Link accessible
Function
Yes
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_BRANCH_ONCE, branchToBlock)
blockNumber
branchToBlock
Details
The branch-once building block branches to a specified block the first time the trigger model encounters the
branch-once block. If it is encountered again, the trigger model ignores the block and continues in the normal
sequence.
The once block is reset when the trigger model reaches the idle state. Therefore, the branch-once block always
executes the first time the trigger model encounters this block.
Example
trigger.model.setblock(2, trigger.BLOCK_BRANCH_ONCE, 4)
When the trigger model reaches block 2, the trigger model goes to block 4 instead of going in the default
sequence of block 3.
Also see
Once
(on page 3-100)
2450-901-01 Rev. B/September 2013
Affected by
Where saved
Restore configuration
Configuration script Not applicable
Instrument reset
Power cycle
The sequence of the block in the trigger model
The block number of the trigger model block to execute when
the trigger model first encounters this block
Section 8: TSP command reference
Default value
8-199

Advertisement

Table of Contents
loading

Table of Contents