eventlog

The eventlog commands module.

These commands are used in the following models: MP5103

THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.

Please report an issue if one is found.

Attributes and Functions
- eventlog.clear()
- eventlog.count
- eventlog.next()

Eventlog

Bases: BaseTSPCmd

The eventlog command tree.

Properties and methods
  • .clear(): The eventlog.clear() function.
  • .count: The eventlog.count attribute.
  • .next(): The eventlog.next() function.

count property

count: str

Access the eventlog.count attribute.

Description
  • This attribute stores the number of events in the event log.
Usage
  • Accessing this property will send the print(eventlog.count) query.
TSP Syntax
- print(eventlog.count)
Raises:

clear

clear() -> None

Run the eventlog.clear() function.

Description
  • This function clears the event log.
TSP Syntax
- eventlog.clear()
Raises:

next

next(event_type: str | None = None) -> str

Run the eventlog.next() function.

Description
  • This function reads and returns the oldest unread event message from the event log, which is then removed from the event log.
TSP Syntax
- eventlog.next()
Parameters:
  • event_type (optional, default: None ) –

    Limits the return to specific event log types.

Returns:
  • str

    The result of the function call.

Raises: