Section 13: LPT library function reference
Model 4200A-SCS Parameter Analyzer Reference Manual
13-48
4200A-901-01 Rev. C / February 2017
Details
The
trig
X
l
and
trig
X
g
commands are used with the
search
X
command or with one of the sweep
measurement commands:
smeas
X
,
sintg
X
, or
savg
X
.
•
The
trig
X
g
or
trig
X
l
command provides the
sweep
X
command the digital feedback to allow
for the increase or decrease in sourcing values.
•
The
trig
X
l
and
trig
X
g
commands must be located before any associated
search
X
commands.
•
Triggers are not automatically reset by the
search
X
or
sweep
X
command. A single call to the
trig
X
l
or
trig
X
g
command can be followed by two or more calls to the
searchX
or
sweep
X
commands.
The specified trigger point is automatically cleared when a
clrtrg
,
execut
, or
devint
command is
executed.
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
.