8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
8-196 2450-901-01 Rev. B/September 2013
Details
The branch-on-constant-limits block goes to a branching block if a measurement meets the criteria set by this
command.
The type of limit can be:
• Above: The measurement is above the value set by limit B. Limit A must be set, but is ignored when this
type is selected.
• Below: The measurement is below the value set by limit A. Limit B must be set, but is ignored when this
type is selected.
• Inside: The measurement is inside the values set by limits A and B. Limit A must be the low value and
Limit B must be the high value.
• Outside: The measurement is outside the values set by limits A and B. Limit A must be the low value
and Limit B must be the high value.
The measurement block must be a measurement building block that occurs in the trigger model before the
branch-on-constant-limits block. The last measurement from the measurement building block is used.
Example
trigger.model.setblock(5, trigger.BLOCK_BRANCH_LIMIT_CONSTANT, trigger.LIMIT_ABOVE,
.1, 1, 2)
Also see
Constant limits (on page 3-99)
trigger.model.setblock() —
trigger.BLOCK_BRANCH_LIMIT_DYNAMIC
This command defines a trigger model block that goes to a specified block in the trigger model if a measurement
meets user-defined criteria.
Type TSP-Link accessible Affected by Where saved Default value
Instrument reset
Power cycle
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_BRANCH_LIMIT_DYNAMIC, limitType,
branchToBlock)
trigger.model.setblock(blockNumber, trigger.BLOCK_BRANCH_LIMIT_DYNAMIC, limitType,
branchToBlock, measureBlock)
The sequence of the block in the trigger model
The type of limit, which can be one of the following types:
• trigger.LIMIT_ABOVE
• trigger.LIMIT_BELOW
• trigger.LIMIT_INSIDE
•
The block number of the trigger model block to execute when
the measurement meets the criteria set in the configuration list
The block number of the measurement block that makes the
measurement to be compared