![background image](http://html2.mh-extra.com/html/keithley/interactive-sourcemeter-2450/interactive-sourcemeter-2450_reference-manual_4033478244.webp)
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 3: Functions and features
2450-901-01 Rev. B/September 2013
3-99
Loop counter
When the trigger model reaches a loop counter block, it goes to a specified block until the count value
is reached. When the counter exceeds the count value, the trigger model ignores the branch and
continues to the next building block in the sequence.
The counter is reset to 0 when the trigger model starts. It is incremented each time the trigger model
reaches the counter block.
You can query the counter. The counter is incremented immediately before the branch compares the
actual counter value to the setting. Therefore, the counter is at 0 until the first comparison. When the
counter value has been reached, branching stops and the counter value is greater than the setting.
On event
The branch-on-event building block goes to a branching block after a specified trigger event occurs. If
the trigger event has not yet occurred when the trigger model reaches the branch-on-event block, the
trigger model continues to execute the blocks in the normal sequence. After the trigger event occurs,
the next time the trigger model reaches the branch-on-event block, it goes to the branching block.
The event can be one of the events shown in the following table.
The trigger event is defined as an event. The events are reset when the trigger model is at the start
block, so only events that occur after the trigger model is started are detected by the branch-on-event
block. The event is also reset after the trigger model completes the branching block.
You can have up to eight branch-on-event blocks in a trigger model.
For information on trigger events, see
Using trigger events to start actions in the trigger model
page 3-109).
Constant limits
The branch-on-constant-limits building block defines a trigger model block that branches to a block
outside the normal trigger model flow if a measurement meets preset criteria.
When you define this building block, you set:
•
The type of limit (above, below, inside, or outside the limit values)
•
The constant limit value or values
•
The building block to go to if the measurement meets the criteria
•
The building block that makes the measurement that is compared to the limits; the last
measurement from that building block is used
You can use this block to create a binning application by having the block branch to a digital I/O
block, followed by a branch always block. Multiple tests can be chained together by repeating this.
To use limits that vary programmatically, use the branch-on-dynamic-limits block.