File I/O - Keithley 2651A Reference Manual

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

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual

File I/O

You can use the file I/O commands to open, close, write data, or to read a file on an installed USB
flash drive. File I/O commands are organized into two groups:
Commands that reside in the fs and io table, for example: io.open(), io.close(),
io.input(), and io.output(). These commands are responsible for managing file system
directories; opening and closing file descriptors; and performing basic I/O operations on a pair of
default files, one input and one output.
Commands that reside in the file descriptors themselves (for example: fileVar:seek(),
fileVar:write(), and fileVar:read()) operate exclusively on the file with which they are
associated.
The root folder of the USB flash drive has the absolute path:
"/usb1/"
Both slash (/) and backslash (\) are supported as directory separators.
For basic information on navigation and directory listing of files on a flash drive, see
navigation
(on page 2-64).
File descriptor commands for file I/O use a colon (:) to separate the command parts rather than a
period (.) like the io commands.
2651A-901-01 Rev. A / March 2011
NOTE
NOTE
Section 5: Remote commands
File system
5-7

Advertisement

Table of Contents
loading

Table of Contents