Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-98
2606B-901-01 Rev. B / May 2018
fs.rmdir()
This function removes a directory from the file system.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
fs.rmdir(
path
)
path
The path of the directory to remove
Details
This path may be absolute or relative to the present current directory.
An error is logged to the error queue if the given path does not exist, or does not represent a
directory, or if the directory is not empty.
Also see
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
(on page 7-171)