Interactive SourceMeter® Instrument Reference Manual Section 6: SCPI command
2461-901-01 A/November 2015 6-193
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.
Example
CALC2:LIM1:LOW -5.17
CALC2:LIM1:UPP -4.23
TRIG:BLOC:BRAN:LIM:DYN 9, IN, 1, 12, 7
Set the limits on with a low limit of -5.17 and
a high limit of -4.23. Set trigger block 9 to
test if the limit is inside those limits based on
the measurement reading at block 7. If the
measurement is within the limits, go to block
Also see
Dynamic Limits block (on page 3-120)
:CALCulate2:<function>:LIMit<Y>:LOWer[:DATA] (on page 6-30)
:CALCulate2:<function>:LIMit<Y>:UPPer[:DATA] (on page 6-33)
:TRIGger:BLOCk:BRANch:ONCE
This command causes the trigger model to branch to a specified building block the first time it is encountered in
the trigger model.
Type Affected by Where saved Default value
Instrument reset
Usage
:TRIGger:BLOCk:BRANch:ONCE <blockNumber>, <branchToBlock>
The sequence of the block in the trigger model
The block number of the trigger model block to execute when the trigger
model first encounters this block