EasyManuals Logo
Home>Keithley>Measuring Instruments>2651A

Keithley 2651A Reference Manual

Keithley 2651A
800 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
Page #408 background imageLoading...
Page #408 background image
Section 7: Command reference Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-100 2651A-901-01 Rev. A / March 2011
Also see
fileVar:flush() (on page 7-83)
fileVar:write()
(on page 7-85)
io.write()
(on page 7-103)
io.input()
This function assigns a previously opened file, or opens a new file, as the default input file.
Type TSP-Link accessible Affected by Where saved Default value
Function Yes (see Details)
Usage
fileVar = io.input()
fileVar = io.input(newfile)
fileVar
The descriptor of the input file or an error message (if the function fails)
newfile
A string representing the path of a file to open as the default input file, or the
file descriptor of an open file to use as the default input file
Details
The newfile path may be absolute or relative to the current working directory.
When using this function from a remote TSP-Link
®
node, this command does not accept a file descriptor and
does not return a value.
If the function fails, an error message will be returned.
Also see
io.open() (on page 7-100)
io.output()
(on page 7-101)
io.open()
This function opens a file for later reference.
Type TSP-Link accessible
Affected by Where saved Default value
Function No
Usage
fileVar, errorMsg = io.open(path)
fileVar, errorMsg = io.open(path, mode)
fileVar
The descriptor of the opened file
errorMsg
Indicates whether an error was encountered while processing the
function
path
The path of the file to open
mode
A string representing the intended access mode ("r" = read,
"w" = write, and "a" = append)

Table of Contents

Other manuals for Keithley 2651A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2651A and is the answer not in the manual?

Keithley 2651A Specifications

General IconGeneral
BrandKeithley
Model2651A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals