Exit(); File.close() - Keithley 2461 Reference Manual

1kw pulse mode interactive sourcemeter instrument
Table of Contents

Advertisement

Section 8: TSP command reference
Details
This command saves all event log entries to a USB flash drive.
If you do not define an event type, the instrument saves all event log entries.
The extension .csv is automatically added to the file name.
Example
eventlog.save("/usb1/WarningsApril", eventlog.SEV_WARN)
Also see
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()

file.close()

This function closes a file on the USB flash drive.
Type
TSP-Link accessible
Function
No
Usage
file.close(fileNumber)
fileNumber
8-72
(on page 8-69)
Affected by
(on page 8-340)
Affected by
The file number returned from the file.open() function to close
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Where saved
Where saved
Save warning messages to a
.csv file on a USB flash drive.
Default value
Default value
2461-901-01 A/November 2015

Advertisement

Table of Contents
loading

Table of Contents