Section 7: Command reference
Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-92
2651A-901-01 Rev. A / March 2011
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 on the time zone format and a description of the fields.
timeZone
can be in either of the following formats:
•
If one argument was used with
settimezone()
, the format used is:
GMThh:mm:ss
•
If four arguments 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
gm_isweep()
(on page 5-24) 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)