Fs.chdir() - Keithley 3700A Series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700A Series:
Table of Contents

Advertisement

Section 11: TSP command reference
Example
format.asciiprecision = 10
x = 3.14159265
format.data = format.ASCII
printnumber(x)
format.data = format.REAL64
printnumber(x)
Also see
format.asciiprecision
format.byteorder
printbuffer()
(on page 11-299)
printnumber()

fs.chdir()

This function sets the current working directory.
Type
TSP-Link accessible
Function
Yes
Usage
workingDirectory = fs.chdir("path")
workingDirectory
path
Details
The new working directory 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.
Example
testPath = fs.chdir("/usb1/")
Also see
None
11-248
(on page 11-245)
(on page 11-246)
(on page 11-302)
Affected by
Returned value containing the working path
A string indicating the new working directory path
Series 3700A System Switch/Multimeter Reference Manual
Output a number represented by x in ASCII
using a precision of 10, then output the same
number in binary using double precision
format.
Output:
3.141592650e+00
#0ñÔÈSû!
@
Where saved
Default value
Change the working directory to usb1.
3700AS-901-01 Rev. D/June 2018

Advertisement

Table of Contents
loading

Table of Contents