S530 Parametric Test System Test Subroutine Library User's Manual Section 3: Test subroutine library reference
S530-907-01 Rev. A / September 2015 3-49
Example
result = leak(hi, lo, sub, v, ilim)
Schematic
logstp
This subroutine creates an array using logarithmic steps.
Usage
int logstp(double xstart, double xstop, double *steps, int npts)
The start point of the sweep
The end point of the sweep
The number of steps in the sweep
The valid range status flag:
1 = The xstart and xstop parameters are valid
0 = Limits cross zero or equal 0.0
Details
This subroutine creates an array of logarithmic-based steps from an input range (xstart and xstop)
and the number of steps (npts). The array of values is returned in the steps output parameter.
The logstp subroutine is often used instead of the sweepi native-mode subroutine call. The sweepi
subroutine uses linear-based steps, which should not be used when sweeping current across more
than three decades of current. Many of the bipolar routines that collect beta-I
CE
type data use the
logstp subroutine to calculate the proper current values to force.
The sweep range cannot cross 0.0.
Negative sweep start and stop points generate an array of negative numbers.
Example
result = logstp(xstart, xstop, &steps, npts)