Eventlog.all(); Eventlog.clear() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Section 7: Command reference
Also see
errorqueue.clear()
errorqueue.count
Error and status messages
Status model

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
Function
Yes
Usage
logString = eventlog.all()
logString
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.
Example
print(eventlog.all())
Output:
17:26:35.690 10 Oct 2007, LAN0, 192.168.1.102, LXI, 0, 1192037132,
1192037155.733269000, 0, 0x0
17:26:39.009 10 Oct 2007, LAN5, 192.168.1.102, LXI, 0, 1192037133,
1192037159.052777000, 0, 0x0
Also see

eventlog.clear()

eventlog.count
eventlog.enable
eventlog.next()
eventlog.overwritemethod
eventlog.clear()
This function clears the event log.
Type
TSP-Link accessible
Function
Yes
7-78
Model 2651A High Power System SourceMeter® Instrument Reference Manual
(on page 7-76)
(on page 7-76)
(on page 2-80)
(on page E-1)
Affected by
A listing of all event log entries
(on page 7-78)
(on page 7-79)
(on page 7-80)
(on page 7-80)
(on page 7-81)
Affected by
Where saved
Default value
Where saved
Default value
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents