Interactive SourceMeter® Instrument Reference Manual Section 8:
2450-901-01 Rev. B/September 2013 8-57
eventlog.save()
This function saves the event log to a file.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
eventlog.save(filename)
eventlog.save(filename, eventMask)
A string that represents the name of the file to be saved
Limits the list of event log entries; set to:
• Errors only: eventlog.SEV_ERROR
• Warnings only: eventlog.SEV_WARN
• Information only: eventlog.SEV_INFO
•
All events: eventlog.SEV_ALL
Details
This command saves all event log entries since the last clear command to a USB flash drive.
You must insert the USB flash drive before sending this command.
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("WarningsApril", eventlog.SEV_WARN)
Save warning messages to a .csv file
on a USB flash drive
Also see
eventlog.next() (on page 8-55)
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
waitcomplete() (on page 8-252)