Model 2450 Interactive SourceMeter® Instrument Reference Manual
trigger.model.setblock() —
trigger.BLOCK_BRANCH_LIMIT_CONSTANT
This command defines a trigger model block that branches to a block outside the normal trigger model flow if a
measurement meets preset criteria.
Type
TSP-Link accessible
Function
Yes
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_BRANCH_LIMIT_CONSTANT, limitType,
limitA, limitB, branchToBlock, measureBlock)
blockNumber
limitType
limitA
limitB
branchToBlock
measureBlock
2450-901-01 Rev. B/September 2013
Affected by
Restore configuration
Instrument reset
Power cycle
The sequence of the block in the trigger model
The type of limit (trigger.LIMIT_ABOVE, trigger.LIMIT_BELOW,
trigger.LIMIT_INSIDE, or trigger.LIMIT_OUTSIDE)
The lower limit that the measurement is tested against; if limitType is set to:
trigger.LIMIT_ABOVE: This value is ignored
•
trigger.LIMIT_BELOW: The measurement must be below this value
•
trigger.LIMIT_INSIDE: This is the low limit that the measurement is
•
compared against
trigger.LIMIT_OUTSIDE: This is the low limit that the measurement is
•
compared against
The upper limit that the measurement is tested against; if limitType is set to:
trigger.LIMIT_ABOVE: The measurement must be above this value
•
trigger.LIMIT_BELOW: This value is ignored
•
trigger.LIMIT_INSIDE: This is the high limit that the measurement is
•
compared against
trigger.LIMIT_OUTSIDE: This is the high limit that the measurement is
•
compared against
The block number of the trigger model block to execute when the measurement meets
the defined criteria
The blockNumber of the measurement block that makes the measurement to be
compared
Section 8: TSP command reference
Where saved
Default value
Configuration script Not applicable
8-195