Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-94 2600BS-901-01 Rev. F/August 2021
Also see
eventlog.all() (on page 9-90)
eventlog.clear() (on page 9-91)
eventlog.count (on page 9-91)
eventlog.enable (on page 9-92)
eventlog.next() (on page 9-92)
exit()
This function stops a script that is presently running.
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() (on page 9-415)
fileVar:close()
This function closes the file that is represented by the fileVar variable.
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.