Model 2657A High Power System SourceMeter® Instrument Reference Manual Section 5: Introduction to TSP operation
2657A-901-01 Rev. B/December 2012 5-7
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 7-88)
fileVar:flush()
(on page 7-88)
fileVar:read()
(on page 7-89)
fileVar:seek()
(on page 7-90)
fileVar:write()
(on page 7-90)
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)
io.close()
(on page 7-103)
io.flush()
(on page 7-104)
io.input()
(on page 7-104)
io.open()
(on page 7-105)
io.output()
(on page 7-106)
io.read()
(on page 7-106)
io.type()
(on page 7-107)
io.write()
(on page 7-107)
os.remove()
(on page 7-146)
os.rename()
(on page 7-147)
The following standard I/O commands are not supported at this time:
File I/O
• fileVar:lines()
• fileVar:setvbuf()
• io.lines()
• io.popen()
GPIB
This attribute stores the GPIB address.
gpib.address (on page 7-99)
Instrument identification
These commands store strings that describe the instrument.
localnode.description (on page 7-134)
localnode.model
(on page 7-136)
localnode.revision
(on page 7-139)
localnode.serialno
(on page 7-140)