File System Navigation - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Section 2: General operation

File system navigation

Use supported commands from the Lua fs library to navigate and list available files on a flash drive.
The instrument encapsulates this set of commands as an fs logical instrument. This makes the file
system of any given node available to the entire TSP-Link
node[5].fs.readdir(".") can be used to read the contents of the current working directory on
node 5.
To allow for future enhancements, the root folder of the USB flash drive has the absolute path:
"/usb1/"
Both slash (/) and backslash (\) are supported as directory separators.
The following Lua fs commands, which support basic navigation and directory listing, are included for
your reference:
fs.chdir
fs.cwd
fs.is_dir
fs.is_file
fs.mkdir
fs.readdir
fs.rmdir
The following Lua fs commands are not supported at this time:
fs.chmod
fs.chown
fs.stat
2-64
Model 2651A High Power System SourceMeter® Instrument Reference Manual
Figure 25: USB port
Meter ®
NOTE
®
system. For example, the command
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents