EasyManuals Logo

Tektronix Keithley 2601B-PULSE Reference Manual

Tektronix Keithley 2601B-PULSE
849 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #509 background imageLoading...
Page #509 background image
Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 11: TSP command reference
2601B-PULSE-901-01A April 2020 11-151
Also see
Status model (on page 15-1)
waitcomplete() (on page 11-393)
os.remove()
This function deletes the file or directory with a given name.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
success, msg = os.remove("filename")
success
A success indicator (true or nil)
msg
A message value (nil or an error message)
filename
A string representing the name of the file or directory to delete
Details
Directories must be empty before using the os.remove() function to delete them.
If this function fails, it returns nil (for success) and an error message string (for msg).
Example
os.remove("testFile")
Delete the file named testFile.
Also see
os.rename() (on page 11-151)
os.rename()
This function renames an existing file or directory.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
success, msg = os.rename("oldname", "newname")
success
A success indicator (true or nil)
msg
A message value (nil or an error message)
oldname
String representing the name of the file or directory to rename
newname
String represent the new name of the file or directory
Details
If this function fails, it returns nil (for success) and an error message string (for msg).

Table of Contents

Other manuals for Tektronix Keithley 2601B-PULSE

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix Keithley 2601B-PULSE and is the answer not in the manual?

Tektronix Keithley 2601B-PULSE Specifications

General IconGeneral
BrandTektronix
ModelKeithley 2601B-PULSE
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals