2606B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2606B-901-01 Rev. B / May 2018
7-89
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-383)
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.
Also see
(on page 7-90)
(on page 7-90)
(on page 7-91)
(on page 7-92)
(on page 7-107)
(on page 7-109)