![Keithley SourceMeter 2600B Series Reference Manual Download Page 443](http://html2.mh-extra.com/html/keithley/sourcemeter-2600b-series/sourcemeter-2600b-series_reference-manual_4085220443.webp)
Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-104
2600BS-901-01 Rev. C / August 2016
Details
The new working directory path may be absolute or relative to the current working directory.
An error is logged to the error queue if the given path does not exist.
Example
testPath = fs.chdir("/usb1/")
Change the working directory to
usb1
.
Also see
None
fs.cwd()
This function returns the absolute path of the current working directory.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
path
= fs.cwd()
path
The absolute path of the current directory
Also see
None
fs.is_dir()
This function tests whether or not the specified path refers to a directory.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
status
= fs.is_dir(
path
)
status
Whether or not the given path is a directory (
true
or
false
)
path
The path of the file system entry to test
Details
The file system path may be absolute or relative to the current working system path.
Also see
(on page 7-105)