Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-88
2600BS-901-01 Rev. B / May 2013
eventlog.overwritemethod
This attribute controls how the event log processes events if the event log is full.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Instrument reset
Recall setup
Not saved
1
(eventlog.DISCARD_OLDEST)
Usage
method
= eventlog.overwritemethod
eventlog.overwritemethod =
method
method
Set to one of the following values:
•
0
or
eventlog.DISCARD_NEWEST
: New entries are not logged
•
1
or
eventlog.DISCARD_OLDEST
: Old entries are deleted as new events are logged
Details
When this attribute is set to
eventlog.DISCARD_NEWEST
, new entries are not logged.
When this attribute is set to
eventlog.DISCARD_OLDEST
, the oldest entry is discarded when a new entry is
added.
Example
eventlog.overwritemethod = 0
When the log is full, the event log will ignore
new entries.
Also see
eventlog.all()
(on page 7-84)
eventlog.clear()
(on page 7-85)
eventlog.count
(on page 7-86)
eventlog.enable
(on page 7-86)
eventlog.next()
(on page 7-87)
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 7-380)
Summary of Contents for System SourceMeter 2601B
Page 841: ......