Section 7: Command reference
Models 707B and 708B Switching Matrix Reference Manual
7-90
707B-901-01 Rev. A / August 2010
eventlog.enable
This attribute enables or disables the event log.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
System reset
Create configuration
script
eventlog.ENABLE
Usage
status = eventlog.enable
eventlog.enable = status
status
The enable status of the event log:
•
eventlog.ENABLE
or
1
: Event log enable
•
eventlog.DISABLE
or
0
: 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.
Example
print(eventlog.enable)
eventlog.enable = eventlog.DISABLE
print(eventlog.enable)
Displays the present status of the Model
707B or 708B event log.
Output:
1.0000000e00
0.0000000e00
Also see
(on page 7-87)
(on page 7-90)
(on page 7-91)
eventlog.next()
This function returns the oldest message from the event log and removes it from the log.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
logString = eventlog.next()
logString
The next log entry