Section 7: TSP command reference
Models 707B and 708B Switching Matrix Reference Manual
7-86
707B-901-01 Rev. B / January 2015
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.000
Also see
(on page 7-85)
(on page 7-86)
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
Create configuration script
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.