Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-248
3700AS-901-01 Rev. D/June 2018
Example
format.asciiprecision = 10
x = 3.14159265
format.data = format.ASCII
printnumber(x)
format.data = format.REAL64
printnumber(x)
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.14100
#0ñÔÈSû! @
Also see
(on page 11-245)
(on page 11-246)
(on page 11-299)
(on page 11-302)
fs.chdir()
This function sets the current working directory.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
workingDirectory
= fs.chdir("
path
")
workingDirectory
Returned value containing the working path
path
A string indicating the new working directory 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/")
Change the working directory to
usb1
.
Also see
None