Fs.is_Dir(); Fs.is_File(); Fs.mkdir() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Section 7: Command reference
Details
The file system path may be absolute or relative to the current working system path.
An error is logged to the error queue if the given path does not exist.
Also see

fs.is_file()

(on page 7-90)
fs.is_file()
Tests whether the specified path refers to a file (as opposed to a directory).
Type
TSP-Link accessible
Function
Yes
Usage
status = fs.is_file(path)
status
path
Details
An error is logged to the error queue if the given path does not exist.
Also see

fs.is_dir()

(on page 7-89)

fs.mkdir()

This function creates a directory at the specified path.
Type
TSP-Link accessible
Function
Yes
Usage
path = fs.mkdir(newPath)
path
newpath
Details
The directory path may be absolute or relative to the current working directory.
An error is logged to the error queue if the parent folder of the new directory does not exist, or if a file system
entry already exists at the given path.
Also see
fs.rmdir()
(on page 7-91)
7-90
Model 2651A High Power System SourceMeter® Instrument Reference Manual
Affected by
true if the given path is a file; otherwise, false
The path of the file system entry to test; this path may be absolute or relative
to the current working directory
Affected by
The returned path of the new directory
Location (path) of where to create the new directory
Where saved
Default value
Where saved
Default value
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents