Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-87
Severity level descriptions
Number
Level
Description
0
Informational
Indicates that there are no entries in the queue.
10
Informational
Indicates a status message or minor error.
20
Recoverable
Indicates possible invalid user input; operation continues but action
should be taken to correct the error.
30
Serious
Indicates a serious error that may require technical assistance, such as
corrupted data.
40
Fatal
Instrument is not operational.
In an expanded system, each TSP-Link enabled instrument is assigned a node number.
The variable
errorNode
returns the node number where the error originated.
Example
errorcode, message = errorqueue.next()
print(errorcode, message)
Reads the oldest entry in the error queue. The
output below indicates that the queue is empty.
Output:
0.000 Queue Is Empty
Also see
(on page 8-1)
eventlog.all()
This function returns all entries from the event log as a single string and removes them from the event log.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
logString = eventlog.all()
logString
A listing of all event log entries
Details
This function returns all events in the event log. Logged items are shown from oldest to newest. The response is
a string that has the messages delimited with a new line character.
This function also clears the event log.
If there are no entries in the event log, this function returns the value
nil
.