
Section 3: LPTLib command reference
S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
3-34
S530-900-01 Rev. E / September 2017
intgX
This command performs voltage or current measurements averaged over a user-defined period (usually, one AC
line cycle).
Usage
int intgc(int
instr_id
, double *
result
);
int intgcg(int
instr_id
, double *
capacitance
, double *
conductance
);
int intgg(int
instr_id
, double *
result
);
int intgi(int
instr_id
, double *
result
);
int intgv(int
instr_id
, double *
result
);
instr_id
The instrument identification code of the measuring instrument;
SMU
n
,
VMTR
n
result
The variable assigned to the result of the measurement
capacitance
The variable assigned the capacitance measurement
conductance
The variable assigned the conductance measurement
Details
The averaging is done in hardware by integration of the analog measurement signal over a specified
period of time. The integration is automatically corrected for 50 Hz or 60 Hz power mains.
The default integration time is one AC line cycle (1 PLC). This default time can be overridden with the
KI_INTGPLC
option of
setmode
. The integration time can be set from 0.01 PLC to 10.0 PLC. The
devint
command resets the integration time to the one AC line cycle default value.
The
range
X
command directly affects the operation of the
intg
X
command. The use of the
range
X
command prevents the instrument addressed from automatically changing ranges. This can result in
an overrange condition that would occur when measuring 10.0 V on a 2.0 V range. An overrange
condition returns the value as the measurement result.
If used, the
range
X
command must be in the test sequence before the associated
intg
X
command.
In general, measurement commands that return multiple results are more efficient than performing
multiple measurement commands. For example, performing a single call to the
intgcg
command is
faster than calling the
intgc
command followed by the
intgg
command.