![Tektronix Keithley SourceMeter 2470 Reference Manual Download Page 869](http://html1.mh-extra.com/html/tektronix/keithley-sourcemeter-2470/keithley-sourcemeter-2470_reference-manual_1078034869.webp)
2470 High Voltage SourceMeter Instrument Reference Manual
Section 14: TSP command reference
2470-901-01 Rev. A /
May
2019
14-229
If you do not define the measure block, it will compare measurements of a measure block that
precedes the branch delta block. For example, if you have a measure block, a wait block, another
measure block, another wait block, and then the branch delta block, the delta block compares the
measurements from the second measure block. If a preceding measure block does not exist, an error
occurs.
Example
trigger.model.setblock(5, trigger.BLOCK_BRANCH_DELTA, 0.35, 8, 3)
Configure trigger block 5 to branch to block 8 when the measurement difference from block 3 is less than 0.35.
Also see
(on page 8-41)
trigger.model.setblock() —
trigger.BLOCK_BRANCH_LIMIT_CONSTANT
This function defines a trigger model block that goes to a specified block if a measurement meets preset criteria.
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_LIMIT_CONSTANT,
limitType
,
limitA
,
limitB
,
branchToBlock
)
trigger.model.setblock(
blockNumber
, trigger.BLOCK_BRANCH_LIMIT_CONSTANT,
limitType
,
limitA
,
limitB
,
branchToBlock
,
measureBlock
)
blockNumber
The sequence of the block in the trigger model
limitType
The type of limit, which can be one of the following types:
trigger.LIMIT_ABOVE
trigger.LIMIT_BELOW
trigger.LIMIT_INSIDE
trigger.LIMIT_OUTSIDE
limitA
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
: The low limit that the measurement is compared
against
trigger.LIMIT_OUTSIDE
: The low limit that the measurement is compared
against