2606B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2606B-901-01 Rev. B / May 2018
7-99
gm_isweep()
This KIParlib factory script function performs a linear current 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, vbuf, ibuf
= gm_isweep(
smu, start_i, stop_i, points
)
gm_array
A Lua table containing the calculated G
m
values at each point
vbuf
A reading buffer containing the measured voltage at each point
ibuf
A reading buffer containing the measured current at each point
smu
Instrument channel (for example,
smua
refers to SMU channel A)
start_i
Starting current level of the sweep
stop_i
Ending current level of the sweep
points
Number of measurements between
start_i
and
stop_i
(must be
≥
2)
Details
Output data includes transconductance values, reading buffer with measured voltages, reading buffer
with measured voltages and currents.
If all parameters are omitted when this function is called, this function is executed with the parameters
set to the default values.
The
gm_isweep()
function performs a linear current 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 Gm values, a reading buffer with the measured voltages, and a reading buffer with
the measured currents.
Example
gm_array = gm_isweep(smua, 0, 0.01, 20)
gm_array, vbuf = gm_isweep(smua, 0, 0.01, 20)
gm_array, vbuf, ibuf = gm_isweep(smua, 0,
0.01, 20)
Source-measure unit (SMU) A returns G
m
values only.
SMU A returns G
m
and reading buffer with
measured voltages.
SMU A returns G
m
and reading buffers with
measured voltages and currents.
Also see
(on page 7-100)
(on page 5-20)