Section 12: SCPI command reference
2470 High Voltage SourceMeter Instrument Reference Manual
12-150
2470-901-01 Rev. A /
May
2019
:TRIGger:BLOCk:BRANch:DELTa
This command defines a trigger model block that goes to a specified block if the difference of two measurements
meets preset criteria.
Type
Affected by
Where saved
Default value
Command only
Recall settings
Instrument reset
Power cycle
Save settings
Not applicable
Usage
:TRIGger:BLOCk:BRANch:DELTa <blockNumber>, <targetDifference>, <branchToBlock>
:TRIGger:BLOCk:BRANch:DELTa <blockNumber>, <targetDifference>, <branchToBlock>,
<measureBlock>
<blockNumber>
The sequence of the block in the trigger model
<targetDifference>
The value against which the block compares the difference between the
measurements
<branchToBlock>
The block number of the trigger model block to execute when the difference between
the measurements is less than or equal to the
<targetDifference>
<measureBlock>
The block number of the measure block that makes the measurements to be
compared; if this is
0
or undefined, the trigger model uses the previous measure
block
Details
This block calculates the difference between the last two measurements from a measure block. It
subtracts the most recent measurement from the previous measurement.
The difference between the measurements is compared to the target difference. If the difference is
less than the target difference, the trigger model goes to the specified branching block. If the
difference is more than the target difference, the trigger model proceeds to the next block in the
trigger block sequence.
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
TRIG:BLOC:BRAN:DELT 5, 0.5, 7, 4
Configure trigger block 5 to compare the differences between
the measurements made in block 4. If the difference between
them is less the 0.5, branch to block 7.
Also see
(on page 8-41)