![Keithley 2651A Reference Manual Download Page 390](http://html1.mh-extra.com/html/keithley/2651a/2651a_reference-manual_661729390.webp)
Section 7: Command reference
Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-82
2651A-901-01 Rev. A / March 2011
Also see
(on page 7-78)
(on page 7-80)
(on page 7-80)
exit()
This function stops a script that is presently running.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function No
Usage
exit()
Details
Terminates script execution when called from a script that is being executed.
This command does not wait for overlapped commands to complete before terminating script execution. If
overlapped commands are required to finish, use the
waitcomplete()
function before calling
exit()
.
Also see
(on page 7-374)
fileVar:close()
This function closes the file that is represented by the
fileVar
variable.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function No
Usage
fileVar:
close()
fileVar
The file descriptor variable to close
Details
This command is equivalent to
io.close(
fileVar
)
.
Note that files are automatically closed when the file descriptors are garbage collected.