eventlog
¶
The eventlog commands module.
These commands are used in the following models: DAQ6510, DMM6500, DMM7510, SMU2450, SMU2460, SMU2461, SMU2470
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.getcount()
- eventlog.next()
- eventlog.post()
- eventlog.save()
Eventlog
¶
Bases: BaseTSPCmd
The eventlog command tree.
Constants
.SEV_ALL: Returns the total number of unread events in the event log..SEV_ERROR: Returns the number of error events in the event log..SEV_INFO: Returns the number of information messages in the event log..SEV_WARN: Returns the number of warnings in the event log.
Properties and methods
.clear(): Theeventlog.clear()function..getcount(): Theeventlog.getcount()function..next(): Theeventlog.next()function..post(): Theeventlog.post()function..save(): Theeventlog.save()function.
clear
¶
clear() -> None
Run the eventlog.clear() function.
Description
- This function clears the event log.
TSP Syntax
- eventlog.clear()
| Raises: |
|
|---|
getcount
¶
Run the eventlog.getcount() function.
Description
- This function returns the number of unread events in the event log.
TSP Syntax
- eventlog.getcount()
| Parameters: |
|
|---|
| Returns: |
|
|---|
| Raises: |
|
|---|
next
¶
Run the eventlog.next() function.
Description
- This function returns the oldest unread event message from the event log.
TSP Syntax
- eventlog.next()
| Parameters: |
|
|---|
| Returns: |
|
|---|
| Raises: |
|
|---|
post
¶
Run the eventlog.post() function.
Description
- This function allows you to post your own text to the event log.
TSP Syntax
- eventlog.post()
| Parameters: |
|
|---|
| Raises: |
|
|---|
save
¶
Run the eventlog.save() function.
Description
- This function saves the event log to a file on a USB flash drive.
TSP Syntax
- eventlog.save()
| Parameters: |
|
|---|
| Raises: |
|
|---|