
Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-100
2606B-901-01 Rev. B / May 2018
gm_vsweep()
This KIParlib factory script function performs a linear voltage sweep and calculates the transconductance (G
m
) at
each point.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
gm_array, ibuf, vbuf
= gm_vsweep(
smu, start_v, stop_v, points
)
gm_array
A Lua table containing the calculated G
m
values at each point
ibuf
A reading buffer containing the measured current at each point
vbuf
A reading buffer containing the measured voltage at each point
smu
Instrument channel (for example,
smua
refers to SMU channel A)
start_v
Starting voltage level of the sweep
stop_v
Ending voltage level of the sweep
points
Number of measurements between
start_v
and
stop_v
(must be
≥
2)
Details
Output data includes transconductance values, reading buffer with measured currents, reading buffer
with measured currents and voltages.
The
gm_vsweep()
function performs a linear voltage sweep, measuring voltage and current, and
then calculating the transconductance (G
m
) at each point using the central difference method. It can
return an array of G
m
values, a reading buffer with the measured currents, and a reading buffer with
the measured voltages.
Example
gm_array = gm_vsweep(smua, 0, 5, 20)
gm_array, ibuf = gm_vsweep(smua, 0, 5, 20)
gm_array, ibuf, vbuf = gm_vsweep(smua, 0, 5, 20)
SMU A returns G
m
values only.
SMU A returns G
m
and reading buffer
with measured currents.
SMU A returns G
m
and reading buffers
with measured currents and voltages.
Also see
(on page 5-20)
i_leakage_measure()
This KIHighC factory script function performs a current leakage measurement after stepping the output voltage.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No