-SCS Parameter Analyzer Reference Manual Section 13:
LPT library function reference
4200A-901-01 Rev. C / February 2017 13-63
Example
.
.
limiti(SMU1, 1.0e-06); /* Limit the maximum current */
/* to 1 µA */
forcev(SMU1, 10.0); /* Force 10 V across the DUT */
delay(100); /* Delay 100 ms to allow for */
/* device settling */
avgi(SMU1, &leakage, 5, 0.01); /* Average 5 readings, delay */
/* 10 ms per measurement */
This example illustrates how to use the avgX command to make five current readings and return the
average of the measurements to the variable
leakage
Also see
measX (on page 13-78)
rangeX (on page 13-83)
bmeasX
This command makes a series of readings as quickly as possible. This measurement mode allows for waveform
capture and analysis (within the resolution of the measurement instrument).
Usage
int bmeasi(int instr_id, double *result, long numrdg,
double delay, int timerid, double *timerdata);
int bmeasv(int instr_id, double *result, long numrdg,
double delay, int timerid, double *timerdata);
The instrument identification code of the measuring instrument
The result name of the array to receive readings; the array must be large enough to
hold the readings
The number of readings to return in the array
The delay between points to wait (in seconds)
The device name of the timer to use (
= no timer data)
The array used to receive the time points at which the readings were made; if
timerID = 0, the timer is not read and this array is not updated; if used, the array
must be large enough to hold the readings
Details
This command collects data using the presently selected range. The measurement range is typically
the same as the force range. If you need a different range, you must change the measurement range
before calling the bmeasX command.
When used with the time module, the measurements and the times for each measurement are stored.
The specific timer is defined in the command, and the time array is returned with the results array.