-SCS Parameter Analyzer Reference Manual Section 13:
LPT library function reference
4200A-901-01 Rev. C / February 2017 13-193
Example
Programming example #3 (on page 13-196) performs a frequency sweep.
Also see
asweepv (on page 13-167)
dsweepf (on page 13-172)
dsweepv (on page 13-174)
forcev (on page 13-175)
setlevel (on page 13-182)
sweepv (on page 13-193)
sweepv
This command performs a linear staircase DC voltage sweep.
Usage
int sweepv(int instr_id, double startv, double stopv, long NumSteps, double
delaytime);
The instrument identification code of the 4210-CVU:
Initial force value for the sweep (−30 V to 30 V)
Final force value for the sweep (−30 V to 30 V)
Number of steps in the sweep (1 to 4096)
Delay before each measurement (0 to 999 s)
Details
This command is used to perform a staircase sweep. The linear step size to sweep is set using the
startv, stopv, and NumSteps parameters. The linear step size for the sweep is calculated as
follows:
Step size (in volts) = (stopv – startv) / NumSteps
The sweep can step forward (low voltage to high voltage) or it can step in reverse (high voltage to low
voltage).
The delayTime parameter sets the delay that occurs before each measurement. Note that there is
an inherent system overhead delay on each step of the sweep.
Use the setfreq and setlevel commands to set the AC drive frequency and voltage for the
sweep.
Use the dsweepv command to do a dual linear staircase voltage sweep.