Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-94
2600BS-901-01 Rev. C / August 2016
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
(on page 7-93)
(on page 7-96)
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.