Model 2657A High Power System SourceMeter® Instrument Reference Manual Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012 7-97
gettimezone()
This function retrieves the local time zone.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
timeZone = gettimezone()
timeZone
The local timezone of the instrument
Details
See settimezone() for additional details about the time zone format and a description of the fields.
timeZone can be in either of the following formats:
• If one parameter was used with settimezone(), the format used is:
GMThh:mm:ss
• If four parameters were used with settimezone(), the format used is:
GMThh:mm:ssGMThh:mm:ss,Mmm.w.dw/hh:mm:ss,Mmm.w.dw/hh:mm:ss
Example
timezone = gettimezone()
Reads the value of the local timezone.
Also see
settimezone() (on page 7-173)
gm_isweep()
This KIParlib factory script function performs a linear current sweep and calculates the transconductance (Gm) 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 Gm 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
System SourceMeter
®
instrument channel (set to smua)
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)