
S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual
Section 3: LPTLib command reference
S530-900-01 Rev. E / September 2017
3-81
setXmtr
This command allows a source to operate as a voltmeter or current meter. The source function is disabled after
calling the
set
X
mtr
command.
Usage
int setimtr(int
instr_id
);
int setvmtr(int
instr_id
);
instr_id
The instrument identification code of the instrument to control;
SMU
n
Details
Use
x
=
v
for volts and
i
for current.
The
set
X
mtr
command does not affect any existing connections.
Note that the
setvmtr
command operates as a current source with 0.0 A output. It also activates the
voltmeter function of the instrument. Additionally, the
setimtr
command operates as a voltage
source with 0.0 V output; it also activates the current meter function of the instrument.
The effects of the
set
X
mtr
command are also cleared when a
devint
or
device initialize
command is called at the end of the test sequence.
Example
float vcc12, icc8, ib47;
.
.
conpin(SMU1H, 1, 0);
conpin(SMU2H, 2, 0);
conpin(SMU3H, 3, 0);
setimtr(SMU1); /* Set SMU1 as a current meter only. */
forcev(SMU3, vcc12); /* Apply vcc12V to collector. */
forcei(SMU2, icc8); /* Enable icc8 current through emitter. */
measi(SMU1, &ib47); /* Measure base current return result */
/* to ib47. */
This figure shows a transistor beta measurement at a specified emitter current and collector-base voltage.
Equation 11: Transistor measurement
Also see
(on page 3-26)