Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-306
DMM7510-901-01 Rev. B / May 2015
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
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 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