Keithley 4200A-SCS Reference Manual page 1040

Parameter
Hide thumbs Also See for 4200A-SCS:
Table of Contents

Advertisement

Model 4200A-SCS Parameter Analyzer Reference Manual
Programming example #2
Performs a single staircase voltage sweep, as shown in the figure below.
CpGp is measured on each step of the sweep.
Test parameters:
AC drive frequency = 100 kHz
AC drive voltage = 15 mV
Measure model = CpGp
Measure range = Auto
Sweep mode = single
Start voltage = 1 V
Stop voltage = 3 V
Number of steps = 3
Delay = 50 ms
This example also returns a timestamp for each measurement and measures the execution time of
the code.
double result1[4], result2[4], timeStamp1[4], timeStamp2;
enable(TIMER1);
setfreq(CVU1, 100e3);
setlevel(CVU1, 15e-3);
setauto(CVU1);
smeasz(CVU1, KI_CVU_TYPE_CPGP, KI_CVU_SPEED_NORMAL, result1, result2);
smeast(CVU1, timeStamp1);
rtfary(forceArray);
sweepv(CVU1, 1, 3, 3, 0.05);
meast(TIMER1, &timeStamp2);
devint();
4200A-901-01 Rev. C / February 2017
Figure 516: Voltage sweep example
RMS
/*
Start timer at 0 seconds. */
/*
Set AC drive frequency to 100 kHz. */
/*
Set AC drive voltage to 15 mV RMS. */
/* Select auto measure range. */
/*
Configure CpGp measurements. */
/* Return timestamps for all measurements. */
/*
Return array of force voltages. */
/*
Configure and perform sweep. */
/*
Return execution time for above. */
/*
block of code. */
/*
Reset CVU. */
Section 13: LPT library function reference
13-195

Advertisement

Table of Contents
loading

Table of Contents