Trigger.model.setblock() — Trigger.block_Branch_On_Event - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2450 Interactive SourceMeter® Instrument Reference Manual
Details
The branch-on-user-limits block goes to a specified building block if a measurement meets the criteria set by this
command.
There are two user-defined limits: limit 1 and limit 2. Both include their own high and low values. You set these
limit threshold values as separate settings. Limit 1 and limit 2 are stored in the measurement configuration list.
You can set them to different values in different indices of the measurement configuration list to allow you to step
through different values. The results of these limit tests are recorded in the reading buffer that accompanies each
stored reading.
The type of limit can be:
Above: The measurement is above the value set by the limit low value. The high value is not used when
this type is selected.
Below: The measurement is below the value set by the limit high value. The low value is not used when
this type is selected.
Inside: The measurement is inside the low and high values set for the limit.
Outside: The measurement is outside the low and high values set for the limit.
The measurement block must be a measurement building block that occurs in the trigger model before the
branch-on-constant-limits block.
Example
trigger.model.setblock(7, trigger.BLOCK_BRANCH_LIMIT_DYNAMIC,
trigger.LIMIT_OUTSIDE, 2, 10, 5)
Configure block 7 to check if limit 2 is outside its limit values, based on the measurements made in block 5. If
values are outside the measurements, branch to block 10. If the values are not outside the measurements,
trigger model execution continues to block 8.
Also see
smu.measure.limit[Y].low.value
smu.measure.limit[Y].high.value
trigger.model.setblock() — trigger.BLOCK_BRANCH_ON_EVENT
This command branches to a specified block when a specified trigger event occurs.
Type
TSP-Link accessible
Function
Yes
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_BRANCH_ON_EVENT, event,
branchToBlock)
blockNumber
event
branchToBlock
2450-901-01 Rev. B/September 2013
(on page 8-110)
(on page 8-109)
Affected by
Where saved
Restore configuration
Configuration script Not applicable
Instrument reset
Power cycle
The sequence of the block in the trigger model
The event that must occur before the trigger block will act
The block number of the trigger model block to execute when the specified event
occurs
Section 8: TSP command reference
Default value
8-197

Advertisement

Table of Contents
loading

Table of Contents