EasyManuals Logo

Keithley 3721-ST User Manual

Keithley 3721-ST
936 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 #632 background image
Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-253
io.close()
This function closes a file.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes (see Details)
Usage
io.close()
io.close(file)
file
The descriptor of the file to close
Details
If a file is not specified, the default output file closes.
Only io.close(), used without specifying a parameter, can be accessed from a remote node.
Example
testFile, testError = io.open("testfile.txt", "w")
if nil == testError then
testFile:write("This is my test file")
io.close(testFile)
end
Opens file testfile.txt
for writing. If no errors were
found while opening, writes
"This is my test
file" and closes the file.
Also see
fileVar:close (on page 11-242)
Script examples (on page 9-5)
io.open() (on page 11-255)
io.flush()
This function saves buffered data to a file.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
io.flush()
Details
You must use the io.flush() or io.close() functions to write data to the file system.
Data is not automatically written to a file when you use the io.write() function. The io.write()
function buffers data; it may not be written to the USB flash drive immediately. Use the io.flush()
function to immediately write buffered data to the drive.
This function only flushes the default output file.

Table of Contents

Other manuals for Keithley 3721-ST

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 3721-ST and is the answer not in the manual?

Keithley 3721-ST Specifications

General IconGeneral
TypeMultimeter
Model3721-ST
ManufacturerKeithley
Measurement FunctionsDC Voltage, AC Voltage, DC Current, AC Current, Resistance, Frequency, Temperature
Relay TypeElectromechanical
Temperature Range-200°C to 1820°C
AccuracyVaries by function and range
ResolutionVaries by function and range
DisplayLCD
InterfaceGPIB, RS-232
TopologyMultiplexer
Maximum Switching Voltage300 V
Maximum Switching Current1 A
Input Impedance>10 GΩ (DC Voltage ranges)

Related product manuals