Tektronix Keithley 2651A Reference Manual page 460

High power system sourcemeter instrument
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual
fs.cwd()
This function returns the absolute path of the current working directory.
Type
TSP-Link accessible
Function
Yes
Usage
path = fs.cwd()
path
Example
if fs.is_dir("/usb1/temp") == true then
fs.chdir("/usb1/temp")
testPath = fs.cwd()
print(testPath)
else
testPath = fs.cwd()
print(testPath)
end
Insert a USB flash drive into the front panel of the instrument.
Verify that /usb1/temp is a directory and change it to be the current working directory.
Set the variable for the current working directory to be testPath.
The return should be:
/usb1/temp
If /usb1/temp is not a directory, set the variable for the current working directory to be testPath.
The return is:
/usb1
Also see
None
2651A-901-01 Rev. C October 2021
Affected by
Where saved
The absolute path of the current working directory
Section 7: TSP command reference
Default value
7-115

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Keithley 2651A and is the answer not in the manual?

Table of Contents