Fs.readdir(); Fs.rmdir() - Keithley 2601B Reference Manual

2600b series system sourcemeter instrument
Hide thumbs Also See for 2601B:
Table of Contents

Advertisement

Series 2600B System SourceMeter® Instrument Reference Manual

fs.readdir()

This function returns a list of the file system entries in the directory.
Type
TSP-Link accessible
Function
Yes
Usage
files = fs.readdir(path)
files
path
Details
The directory path may be absolute or relative to the current working directory.
This command is nonrecursive. For example, entries in subfolders are not returned.
An error is logged to the error queue if the given path does not exist or does not represent a directory.
Also see
None

fs.rmdir()

This function removes a directory from the file system.
Type
TSP-Link accessible
Function
Yes
Usage
fs.rmdir(path)
path
Details
This 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, or does not represent a directory, or if the
directory is not empty.
Also see
fs.mkdir()
2600BS-901-01 Rev. B / May 2013
Affected by
A table containing the names of all the file system entries in the specified
directory
The directory path
Affected by
The path of the directory to remove
(on page 7-96)
Section 7: TSP command reference
Where saved
Default value
Where saved
Default value
7-97

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents