System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. C / August 2016 7-95
Example
eventlog.enable = eventlog.DISABLE
print(eventlog.enable)
Displays the present status of the Series
2600B event log.
Output:
1.00000e+00
Also see
eventlog.all() (on page 7-92)
eventlog.clear() (on page 7-93)
eventlog.count (on page 7-94)
eventlog.next() (on page 7-95)
eventlog.overwritemethod (on page 7-96)
eventlog.next()
This function returns the oldest message from the event log and removes it from the log.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
logString = eventlog.next()
Details
Returns the next entry from the event log and removes it from the log.
If there are no entries in the event log, returns the value nil.
Example 1
Get the oldest message in the event log and remove that entry from the log.
Output:
17:28:22.085 10 Oct 2009, LAN2, 192.168.1.102, LXI, 0, 1192037134, <no time>, 0,
Example 2
If you send this command when there is nothing in the event log, you will get the following output:
nil
Also see
eventlog.all() (on page 7-92)
eventlog.clear() (on page 7-93)
eventlog.count (on page 7-94)
eventlog.enable (on page 7-94)
eventlog.overwritemethod (on page 7-96)