Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-230
2470-901-01 Rev. A /
May
2019
limitB
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
: The high limit that the measurement is compared
against
trigger.LIMIT_OUTSIDE
: The high limit that the measurement is compared
against
branchToBlock
The block number of the trigger model block to execute when the measurement
meets the defined criteria
measureBlock
The block number of the measure block that makes the measurements to be
compared; if this is
0
or undefined, the trigger model uses the previous measure
block
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 measure building block that occurs in the trigger model before the
branch-on-constant-limits block. The last measurement from a measure building block is used.
If the limit A is more than the limit B, the values are automatically swapped so that the lesser value is
used as the lower limit.
Example
trigger.model.setblock(5, trigger.BLOCK_BRANCH_LIMIT_CONSTANT, trigger.LIMIT_ABOVE,
0.1, 1, 2)
Sets trigger block 5 to be a constant limit that branches to block 2 when the measurement is above the value
set for limit B (which is set to 1). Note that limit A must be set, but is ignored.
Also see
(on page 8-39)