Section 7: TSP command reference
eventlog.count
This attribute returns the number of events in the event log.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
N = eventlog.count
N
Example
print(eventlog.count)
Also see
eventlog.all()
(on page 7-84)
eventlog.clear()
eventlog.enable
eventlog.next()
eventlog.overwritemethod
eventlog.enable
This attribute enables or disables the event log.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
status = eventlog.enable
eventlog.enable = status
status
Details
When the event log is disabled (eventlog.DISABLE or 0), no new events are added to the event log. You can,
however, read and remove existing events.
When the event log is enabled, new events are logged.
7-86
Affected by
Instrument reset
Clearing event log
Reading event log
The number of events in the event log
(on page 7-85)
(on page 7-86)
(on page 7-87)
(on page 7-88)
Affected by
Instrument reset
Recall setup
The enable status of the event log:
1 or eventlog.ENABLE: Event log enable
0 or eventlog.DISABLE: Event log disable
Series 2600B System SourceMeter® Instrument Reference Manual
Where saved
Not applicable
Displays the present number of events in the
instrument event log.
Output looks similar to:
3.00000e+00
Where saved
Not saved
Default value
Not applicable
Default value
1 (eventlog.ENABLE)
2600BS-901-01 Rev. B / May 2013