Model 4200A-SCS Parameter Analyzer Reference Manual
Section 13: LPT library function reference
4200A-901-01 Rev. C / February 2017
13-193
Example
(on page 13-196) performs a frequency sweep.
Also see
(on page 13-167)
(on page 13-172)
(on page 13-174)
(on page 13-175)
(on page 13-182)
(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
);
instr_id
The instrument identification code of the 4210-CVU:
CVU1
startv
Initial force value for the sweep (
−
30 V to 30 V)
stopv
Final force value for the sweep (
−
30 V to 30 V)
NumSteps
Number of steps in the sweep (1 to 4096)
delaytime
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.