Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-308
DMM7510-901-01 Rev. B / May 2015
trigger.model.setblock() —
trigger.BLOCK_BRANCH_LIMIT_DYNAMIC
This function defines a trigger model block that goes to a specified block in the trigger model if a measurement
meets user-defined 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_DYNAMIC,
limitType
,
limitNumber
,
branchToBlock
)
trigger.model.setblock(
blockNumber
, trigger.BLOCK_BRANCH_LIMIT_DYNAMIC,
limitType
,
limitNumber
,
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
limitNumber
The limit number (
1
or
2
)
branchToBlock
The block number of the trigger model block to execute when
the measurement meets the criteria set in the configuration list
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
Details
The branch-on-dynamic-limits block defines a trigger model block that goes to a specified block in the
trigger model if a measurement meets user-defined criteria.
When you define this block, you set:
•
The type of limit (above, below, inside, or outside the limit values)
•
The limit number (you can have 1 or 2 limits)
•
The block to go to if the measurement meets the criteria
•
The block that makes the measurement that is compared to the limits; the last measurement from
that block is used
There are two user-defined limits: limit 1 and limit 2. Both include their own high and low values,
which are set using the front-panel Calculations limit settings or through commands. The results of
these limit tests are recorded in the reading buffer that accompanies each stored reading.
Limit values are stored in the measure configuration list, so you can use a configuration list to step
through different limit values.
The measure or digitize block must occur in the trigger model before the branch-on-dynamic-limits
block. If no measure or digitize block is defined, the measurement from the previous measure or
digitize block is used. If no previous measure or digitize block exists, an error is reported.