EasyManua.ls Logo

Keithley 2657A - File System Navigation

Keithley 2657A
805 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Model 2657A High Power System SourceMeter® Instrument Reference Manual Section 2: General operation
2657A-901-01 Rev. B/December 2012 2-71
Figure 23: USB port
File system navigation
The Model 2657A can use commands from the Lua fs library to navigate and list files that are
available on a flash drive. These Lua commands are in the fs command group in the instrument.
The fs commands make the file system of any given node available to the entire TSP-Link
®
system.
For example, you can use the command node[5].fs.readdir(".") to read the contents of the
current working directory on node 5.
The root folder of the USB flash drive has the absolute path:
"/usb1/"
You can use either the slash (/) or backslash (\) as a directory separator. However, the backslash is
also used as an escape character, so if you use it as a directory separator, you will generally need to
use a double backslash (\\) when you are creating scripts or sending commands to the instrument.
The instrument supports the following Lua fs commands:
fs.chdir() (on page 7-94)
fs.cwd()
(on page 7-94)
fs.is_dir()
(on page 7-94)
fs.is_file()
(on page 7-95)
fs.mkdir()
(on page 7-95)
fs.readdir()
(on page 7-96)
fs.rmdir()
(on page 7-96)
The following Lua fs commands are not supported at this time:
fs.chmod()
fs.chown()
fs.stat()
ter
®
NOTE

Table of Contents

Related product manuals