Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-86
2600BS-901-01 Rev. B / May 2013
eventlog.count
This attribute returns the number of 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
eventlog.all()
(on page 7-84)
eventlog.clear()
(on page 7-85)
eventlog.enable
(on page 7-86)
eventlog.next()
(on page 7-87)
eventlog.overwritemethod
eventlog.enable
This attribute enables or disables the event log.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Instrument reset
Recall setup
Not saved
1 (eventlog.ENABLE)
Usage
status
= eventlog.enable
eventlog.enable =
status
status
The enable status of the event log:
1
or
eventlog.ENABLE
: Event log enable
0
or
eventlog.DISABLE
: Event log disable
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.
Summary of Contents for System SourceMeter 2601B
Page 841: ......