Model 4200A-SCS Parameter Analyzer Reference Manual
Section 13: LPT library function reference
4200A-901-01 Rev. C / February 2017
13-39
Details
The
trig
X
g
or
trig
X
l
command must be used with the
search
X
command. Triggers and the
search
X
command together initiate a search operation consisting of a series of steps referred to as
iterations. During each iteration, the following events occur:
•
A voltage or current is applied to a circuit node of the device under test (DUT).
•
All triggers are evaluated.
•
If the triggers evaluate true, the source value is moved toward the value specified in the
min_val
parameter. If the triggers do not evaluate true, the source value is moved toward the value
specified in the
max_val
parameter. The source range is then divided in half for the next
iteration.
A total of 16 iterations can be programmed. When all iterations are completed, a value of voltage or
current is returned as the result of the search operation. This value is the voltage or current level
required to match the trigger point.
The following example shows all binary search possibilities where the minimum and maximum source
values are 0 and 20 V, respectively. Note the following:
•
Three iterations, numbered one through three, are shown. Within a given iteration, the values of
possible sourcing voltages are indicated.
•
During the first iteration of the binary search process, 10 V is applied. This represents the
midpoint of the minimum and maximum values.
•
At the end of each iteration, the program determines whether to increase or decrease the source
voltage. The determination is dependent on the evaluation of the trigger point.
Figure 502: Minimum and maximum source values