S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual Section 3:
S530-900-01 Rev. E / September 2017 3-85
Example
double resi[13]; /* Defines array. */
.
.
conpin(SMU1, l, 0);
conpin(GND, 2, 0);
smeasi(SMU1, resi); /* Make a series of */
/* measurements; */
/* return the results to the */
/* resi array. */
sweepv(SMU1, 0.0, 0.3, 12, 25.0E-3); /* Make 13 measurements as the */
/* voltage ranges from 0 to */
This example determines the measurement data needed to create a graph showing the negative
resistance characteristics of a tunnel diode. SMU1 generates a voltage ramp ranging from 0 to 0.3 V. The
current through the diode is sampled 13 times with a duration of 25 ms at each step. The results are stored
in an array named resi.
Also see
clrscn (on page 3-17)
devint (on page 3-26)
sweepX (on page 3-88)