19-62
Return to
2600AS-901-01 Rev. B / September 2008
Section 19: Remote Commands
Series 2600A System SourceMeter® Instruments Reference Manual
file system
You can use the file system functions to access files saved on the USB flash drive. A compatible non-
Keithley application may be required to navigate in the file system or to view a list the files available.
These commands interact as an fs logical instrument on the TSP Platform to share a file system from
any node over the entire TSP-Link network.
To allow for future enhancements, the root folder of the USB memory stick has the absolute path
"/usb1/". Both the forward slash (/) and backslash (\) are supported as directory separators.
format.data
Attribute
The data format for data printed using the
printnumber
and
printbuffer
functions.
Default
format.ASCII
TSP-Link
accessibility
This attribute cannot be accessed from a remote TSP-Link node.
Usage
fmt = format.data
-- Reads data format.
format.data = fmt
-- Writes data format.
Set
fmt
to one of the following values:
1
or
format.ASCII
ASCII format.
2
or
format.SREAL
Single precision IEEE-754 binary format.
2
or
format.REAL32
Single precision IEEE-754 binary format.
3
or
format.REAL
Double precision IEEE-754 binary format.
3
or
format.REAL64
Double precision IEEE-754 binary format.
Remarks
• This attribute selects the data format used to print data values with the
printnumber
and
printbuffer
functions.
• The precision of the ASCII format can be controlled with the
attribute. The byte order of SREAL, REAL, REAL32, and REAL64 can be selected with the
attribute.
• REAL32 and SREAL select the same single precision format. REAL and REAL64 select the
same double precision format. They are alternative identifiers. Selecting which to use is a matter
of preference.
• The IEEE-754 binary formats use 4 bytes each for single precision values and 8 bytes each for
double precision values.
• When data is written with any of the binary formats, the response message will start with “#0”
and end with a new line. When data is written with the ASCII format, elements will be separated
with a comma and space.
Also see
Example
Selects the ASCII data format:
format.data = format.ASCII
fs.chdir
Function
Sets the current working directory.
TSP-Link
accessibility
This function can be accessed from a remote TSP-Link node.
Usage
fs.chdir(path)
path
The path of the new working directory. This path may be
either absolute or relative to the current working directory.
Remarks
• An error is logged to the error queue if the given path does not exist.