
Section 3: LPTLib command reference
S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
3-92
S530-900-01 Rev. E / September 2017
Example 1
double res22, vcc8;
.
.
conpin(SMU1, 3, 0);
conpin(SMU2, 2, 0);
conpin(GND, 1, 0);
forcev(SMU2, vcc8); /* Apply collector voltage to vcc8. */
trigig(SMU2, +5.0E-3); /* Search for a collector */
/* current of 5 mA. */
searchi(SMU1, 5.0E-5, 2.0E-4, 15, 1.0E-3, &res22); /* Generate */
/* a current ranging */
/* from 50 uA to 200 uA in */
/* 15 iterations. Return the */
/* current resulting from the */
/* last iteration as res22. */
This example uses the
trigig
and
searchi
commands together to generate and search for a specific
current level. A search is initiated to find the base current needed to produce 5 mA of collector current. The
collector-emitter voltage supplied by SMU2 is defined by the variable
vcc8
. The
searchi
command
generates the base current from SMU1. This current ranges between 50 mA and 200 mA in 15 iterations.
The
trigig
command continuously monitors the current through SMU1. The base current supplied by
SMU1 is stored as the result
res22
.