Exit(); Filevar:close() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Section 7: Command reference
Also see
eventlog.all()
eventlog.clear()
eventlog.count
eventlog.enable
eventlog.next()

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.
7-82
Model 2651A High Power System SourceMeter® Instrument Reference Manual
(on page 7-78)
(on page 7-78)
(on page 7-79)
(on page 7-80)
(on page 7-80)
Affected by
(on page 7-374)
Affected by
The file descriptor variable to close
Where saved
Default value
Where saved
Default value
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents