
Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-86
2606B-901-01 Rev. B / May 2018
eventlog.clear()
This function clears the event log.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
eventlog.clear()
Details
This command removes all messages from the event log.
Also see
(on page 7-86)
(on page 7-88)
eventlog.count
This attribute returns the number of unread events in the event log.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Instrument reset
Clearing event log
Reading event log
Not applicable
Not applicable
Usage
N
= eventlog.count
N
The number of events in the event log
Example
print(eventlog.count)
Displays the present number of events in the
instrument event log.
Output looks similar to:
3.00
Also see
(on page 7-86)
(on page 7-88)