Section 13: LPT library function reference
Model 4200A-SCS Parameter Analyzer Reference Manual
13-194
4200A-901-01 Rev. C / February 2017
Example
Refer to
(on page 13-195) for an example of a single staircase voltage
sweep.
Also see
(on page 13-167)
(on page 13-172)
(on page 13-174)
(on page 13-181)
(on page 13-182)
(on page 13-192)
Programming examples
These programming examples provide examples of how to use LPT commands to:
•
Make a single CsRs impedance measurement:
(on page 13-194)
•
Do a single staircase sweep and measure CpGp for each step:
•
Do a single frequency sweep and measure CpGp for each step:
•
(on page 13-197)
•
Do a voltage array sweeps with an array of delay values used for the sweep:
(on page 13-198)
Programming example #1
Performs a single CsRs impedance measurement. Test parameters:
•
DC bias voltage = 1 V
•
AC drive frequency = 100 kHz
•
AC drive voltage = 15 mV
RMS
•
Measure model = CsRs
This example also acquires a timestamp for the measurement.
double result1, result2, timeStamp;
forcev(CVU1, 1); /* Set DC bias to 1 V. */
setfreq(CVU1, 100e3); /* Set AC drive frequency to 100 kHz. */
setlevel(CVU1, 15e-3); /* Set AC drive voltage to 15 mV RMS. */
rdelay(0.1); /* Set settling time to 100 ms. */
rangei(CVU1, 1.0e-3); /* Select 1 mA measure range. */
measz(CVU1, KI_CVU_TYPE_CSRS, KI_CVU_SPEED_NORMAL, &result1, &result2);
/* Measure CsRs. */
meast(CVU1, &timeStamp); /* Return timestamp for measurement. */
devint(); /* Reset CVU. */