Avgx - Keithley 4200A-SCS Reference Manual

Parameter
Hide thumbs Also See for 4200A-SCS:
Table of Contents

Advertisement

Section 13: LPT library function reference

avgX

This command makes a series of measurements and averages the results.
Usage
int avgi(int instr_id, double *result, long stepno, double steptime);
int avgv(int instr_id, double *result, long stepno, double steptime);
instr_id
result
stepno
steptime
Details
The avgX command is used primarily to get measurements when:
The device under test (DUT) being tested acts in an unstable manner.
Electrical interference is higher than can be tolerated if the measX command were to be used.
The programmer specifies the number of samples and the duration between each sample.
After this command executes, all closed relay matrix connections remain closed and the sources
continue to generate voltage or current. This allows additional sequential measurements.
In general, measurement commands that return multiple results are more efficient than performing
multiple measurement commands.
The rangeX command directly affects the operation of the avgX command. The use of the rangeX
command prevents the addressed instrument from automatically changing ranges. This can result in
an overrange condition similar to what would occur when measuring 10.0 V on a 4.0 V range. An
overrange condition returns the value 1.0E+22 as the result of the measurement.
If the rangeX command is not in the test sequence before the avgX call, the measurements
performed automatically select the optimum range.
Compliance limits: A compliance limit setting goes into effect when the SMU is on a measure range
that can accommodate the limit value. For manual ranging, the rangeX command is used to select
the range. For autoranging, the avgi or avgv commands triggers a needed range change before the
measurement is made. See
13-62
The instrument identification code of the measuring instrument
The variable assigned the result of the measurement
The number of steps averaged in the measurement (1 to 32,767)
The interval in seconds between each measurement; the minimum practical time is
approximately 2.5 ms
Compliance limits
(on page 3-3) for details.
Model 4200A-SCS Parameter Analyzer Reference Manual
4200A-901-01 Rev. C / February 2017

Advertisement

Table of Contents
loading

Table of Contents