Exit() - Keithley 2606B System SourceMeter Reference Manual

Table of Contents

Advertisement

2606B System SourceMeter® Instrument Reference Manual

exit()

This function stops a script that is presently running.
Type
TSP-Link accessible
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
waitcomplete()
fileVar:close()
This function closes the file that is represented by the fileVar variable.
Type
TSP-Link accessible
Function
No
Usage
fileVar:close()
fileVar
Details
This command is equivalent to io.close(fileVar).
Note that files are automatically closed when the file descriptors are garbage collected.
Also see
fileVar:flush()
fileVar:read()
fileVar:seek()
fileVar:write()
io.close()
io.open()
2606B-901-01 Rev. B / May 2018
Affected by
(on page 7-383)
Affected by
The file descriptor variable to close
(on page 7-90)
(on page 7-90)
(on page 7-91)
(on page 7-92)
(on page 7-107)
(on page 7-109)
Section 7: TSP command reference
Where saved
Default value
Where saved
Default value
7-89

Advertisement

Table of Contents
loading

Table of Contents