Section 9: Introduction to TSP operation Model 2601B-PULSE System SourceMeter Instrument Reference Manual
9-8 2601B-PULSE-901-01A April 2020
For basic information about navigation and directory listing of files on a flash drive, see File system
navigation (on page 3-29).
File descriptor commands for file I/O use a colon (:) to separate the command parts rather than a
period (.), like the io commands.
File descriptors cannot be passed between nodes in a TSP-Link
®
system, so the io.open(),
fileVar::read(), and fileVar::write commands are not accessible to the TSP-Link system.
However, the default input and output files mentioned above allow for the execution of many file I/O
operations without any reference to a file descriptor.
fileVar:close() (on page 11-83)
fileVar:flush() (on page 11-84)
fileVar:read() (on page 11-85)
fileVar:seek() (on page 11-86)
fileVar:write() (on page 11-88)
fs.chdir() (on page 11-92)
fs.cwd() (on page 11-93)
fs.is_dir() (on page 11-93)
fs.is_file() (on page 11-94)
fs.mkdir() (on page 11-95)
fs.readdir() (on page 11-95)
fs.rmdir() (on page 11-96)
io.close() (on page 11-102)
io.flush() (on page 11-103)
io.input() (on page 11-104)
io.open() (on page 11-104)
io.output() (on page 11-105)
io.read() (on page 11-106)
io.type() (on page 11-107)
io.write() (on page 11-108)
os.remove() (on page 11-151)
os.rename() (on page 11-151)
The following standard I/O commands are not supported:
â–ª fileVar:lines()
â–ª fileVar:setvbuf()
â–ª io.lines()
â–ª io.popen()
GPIB
This attribute stores the GPIB address.
gpib.address (on page 11-99)