Section 8: TSP command reference
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
Function
Yes
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
limitType
limitA
limitB
branchToBlock
measureBlock
8-306
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Affected by
Where saved
Restore configuration
Configuration script
Instrument reset
Power cycle
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
•
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: The low limit that the measurement is
compared against
•
trigger.LIMIT_OUTSIDE: 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: The high limit that the measurement is
compared against
•
trigger.LIMIT_OUTSIDE: 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 block number of the measure or digitize block that makes the measurements
to be compared; if this is 0 or undefined, the trigger model uses the previous
measure or digitize block
Default value
Not applicable
DMM7510-901-01 Rev. B / May 2015