Model 4200A-SCS Parameter Analyzer Reference Manual
Section 13: LPT library function reference
4200A-901-01 Rev. C / February 2017
13-11
clrtrg
This command clears the user-selected voltage or current level that is used to set trigger points. This permits the
use of the
trig
X
l
or
trig
X
g
command more than once with different levels in a single test sequence.
Usage
int clrtrg(void);
Details
The
search
X
,
sweep
X
,
asweep
X
, or
bsweep
X
command, each with different voltage or current
levels, may be used repeatedly within a command if each is separated by a
clrtrg
command.
Example
double forcur[11], revcur[11]; /* Defines arrays. */
.
.
conpin(SMU1, 1, 0);
conpin(GND, 2, 0);
trigil(SMU1, 5.0e-3); /* Increase ramp to I = 5 mA.*/
smeasi(SMU1, forcur); /* Measure forward */
/* characteristics; */
/* return results to forcur */
/* array. */
sweepv(SMU1, 0.0, 0.5, 10, 5.0e-3); /* Output */
/* 0 V to 0.5 V in 11 */
/* steps, each 5 ms duration. */
clrtrg(); /* Clear 5 mA trigger point. */
clrscn(); /* Clear sweepv. */
trigil(SMU1, -0.5e-3); /* Decrease ramp to */
/* I = -0.5 mA. */
smeasi(SMU1, revcur); /* Measure reverse */
/* characteristics; */
/* return results to revcur */
/* array. */
sweepv(SMU1, 0.0, -30.0, 10, 5.00e-3); /* Output */
/* 0 V to -30 V in 11 steps */
/* each 5 ms in duration. */