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