Model 4200A-SCS Parameter Analyzer Reference Manual
Section 13: LPT library function reference
4200A-901-01 Rev. C / February 2017
13-197
Programming example #4
This example performs a voltage array sweep as shown in the figure below.
Figure 518: Voltage array sweep example
The above figure shows an example of a voltage array sweep using the following voltage values: 1 V,
-2 V, 3 V, -4 V. The voltage array is configured as follows:
forceArray[0] = 1
forceArray[1] = -2
forceArray[2] = 3
forceArray[3] = -4
CpGp is measured on each point of the sweep.
Test parameters:
•
AC drive frequency = 100 kHz
•
AC drive voltage = 15 mV
RMS
•
Measure model = CpGp
•
Measure range = Auto
•
Force array = 1 V, -2 V, 3 V, -4 V
•
Number of sweep points = 4
•
Delay = 50 ms
double result1[4], result2[4], forceArray[4];
setfreq(CVU1, 100e3); /* Set AC drive frequency to 100 kHz. */
setlevel(CVU1, 15e-3); /* Set AC drive voltage to 15 mV RMS. */
setauto(CVU1); /* Select auto measure range. */
smeasz(CVU1, KI_CVU_TYPE_CPGP, KI_CVU_SPEED_NORMAL, result1, result2);
/* Configure CpGp measurements. */
asweepv(CVU1, 4, 0.05, forceArray); /* Configure and perform sweep. */
devint(); /* Reset CVU. */