2600AS-901-01 Rev. B / September 2008 Return to Section Topics 19-273
Series 2600A System SourceMeter® Instruments Reference Manual Section 19: Remote Commands
KIParlib
The KIParlib factory script is made up of two functions: gm_vsweep() and gm_isweep().
Table 19-23
KIParlib TSP test script: gm_vsweep()
TSP project name: KIParlib
TSP test script name: KIParlib
Function:
gm_vsweep(smu, start_v, stop_v, points)
Description The gm_vsweep() function performs a linear voltage sweep, measuring voltage
and current and then calculates the transconductance (Gm) at each point using
the central difference method. It can return an array of Gm values, a reading
buffer with the measured currents, and a reading buffer with the measured
voltages.
Parameters
smu, start_v, stop_v, points
smu: SourceMeter instrument Channel (A or
B).
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).
Return
values
• gm_array: a Lua table containing the calculated Gm 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.
Output
Data
Transconductance values, reading buffer with measured currents, reading buffer
with measured currents and voltages.
Examples
• gm_array = gm_vsweep(smua, 0, 5, 20)
SMU A returns Gm values only.
• gm_array, ibuf = gm_vsweep(smua, 0, 5, 20)
SMU A returns Gm and reading buffer with measured currents.
• gm_array, ibuf, vbuf = gm_vsweep(smua, 0, 5, 20)
SMU A returns Gm and reading buffers with measured currents and voltages.