
Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012
7-85
Also see
(on page 7-84)
(on page 7-85)
(on page 7-86)
(on page 7-87)
eventlog.count
This attribute gets 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-84)
(on page 7-85)
(on page 7-86)
(on page 7-87)
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 2657A
Page 3: ......