Section 13: LPT library function reference
Model 4200A-SCS Parameter Analyzer Reference Manual
13-44
4200A-901-01 Rev. C / February 2017
sintgX
This command makes an integrated measurement for every point in a sweep.
Usage
int sintgi(int
instr_id
, double *
result
);
int sintgv(int
instr_id
, double *
result
);
instr_id
The instrument identification code of the measuring instrument
result
The floating point array where the results are stored
Details
Used this command to create an entry in the measurement scan table. During any of the sweeping
commands, a measurement scan is performed for every force point in the sweep. During each scan,
a measurement is made for every entry in the scan table. The measurements are made in the same
order in which the entries were made in the scan table.
The
sintg
X
command sets up the new scan table entry to make an integrated measurement. The
measurement results are stored in the array, specified by the
result
parameter. Each time a
measurement scan is made, a new measurement result is stored at the next location in the results
array. If the scan table is not cleared, making multiple sweeps will continue to add new measurement
results to the end of the array. Care must be taken that the results array is large enough to hold all
measurements that are made before the scan table is cleared. The scan table is cleared by an explicit
call to the
clrscn
command, or implicitly when the
devint
or
execut
command is called.
Example
double idss[16];
.
.
conpin(SMU1, 2, 0);
conpin(GND, 5, 4, 3, 0);
limiti(SMU1, 1.5E-8);
rangei(SMU1, 2.0E-8); /* Select range for 20 nA. */
sintgi(SMU1, idss); /* Measure current with SMU1;*/
/* return results to idss. */
.
.
sweepv(SMU1, 0.0, 25.0, 15, /* Perform 16 measurements */
1.0E-3); /* (steps) from 0 through */
. /* 25 V; each step 1 ms in */
. /* duration. */