EasyManuals Logo

Tektronix KEITHLEY 2600B Series User Manual

Tektronix KEITHLEY 2600B Series
834 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 #489 background image
Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-168 2600BS-901-01 Rev. F/August 2021
Example
opc()
waitcomplete()
print("1")
Output:
1
Also see
Status model (on page 12-1)
waitcomplete() (on page 9-415)
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 9-168)
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 representing the new name of the file or directory

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix KEITHLEY 2600B Series and is the answer not in the manual?

Tektronix KEITHLEY 2600B Series Specifications

General IconGeneral
BrandTektronix
ModelKEITHLEY 2600B Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals