Section 11: TSP command reference Series 3700A System Switch/Multimeter Reference Manual
11-248 3700AS-901-01 Rev. D/June 2018
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.141592650e+00
#0ñÔÈSû! @
Also see
format.asciiprecision (on page 11-245)
format.byteorder (on page 11-246)
printbuffer() (on page 11-299)
printnumber() (on page 11-302)
fs.chdir()
This function sets the current working directory.
Usage
workingDirectory = fs.chdir("path")
Returned value containing the working 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.