19-56 Return to Section Topics 2600AS-901-01 Rev. B / September 2008
Section 19: Remote Commands Series 2600A System SourceMeter® Instruments Reference Manual
event log
You can use the event log to view specific details about LAN triggering events.
eventlog.all
Function Returns all entries from the event log as a single string and then clears the event log.
TSP-Link
accessibility
This function can be accessed from a remote TSP-Link node.
Usage logstring = eventlog.all()
logstring The returned string that includes all entries.
Remarks Clears the event log after returning all entries as a single string.
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
eventlog.clear
Function Removes all entries from the event log.
TSP-Link
accessibility
This function can be accessed from a remote TSP-Link node.
Usage eventlog.clear()
Remarks • Clears the event log.
Example eventlog.clear()
eventlog.count
Attribute Indicates the number of entries in the event log.
TSP-Link
accessibility
This attribute can be accessed from a remote TSP-Link node.
Usage count = eventlog.count -- Reads the count.
eventlog.count = count -- Writes the count.
count The number of entries in the event log.
Remarks • Indicates the number of entries in the event log.
Example print(eventlog.count)
Output:
3.000000000e+000