Eventlog.next() - Keithley 2601B Reference Manual

2600b series system sourcemeter instrument
Hide thumbs Also See for 2601B:
Table of Contents

Advertisement

Series 2600B System SourceMeter® Instrument Reference Manual
Example
print(eventlog.enable)
eventlog.enable = eventlog.DISABLE
print(eventlog.enable)
Also see
eventlog.all()
eventlog.clear()
eventlog.count

eventlog.next()

eventlog.overwritemethod
eventlog.next()
This function returns the oldest message from the event log and removes it from the log.
Type
TSP-Link accessible
Function
Yes
Usage
logString = eventlog.next()
logString
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
print(eventlog.next())
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,
0x0
Example 2
print(eventlog.next())
If you send this command when there is nothing in the event log, you will get the following output:
nil
Also see
eventlog.all()
eventlog.clear()
eventlog.count
eventlog.enable
eventlog.overwritemethod
2600BS-901-01 Rev. B / May 2013
(on page 7-84)
(on page 7-85)
(on page 7-86)
(on page 7-87)
(on page 7-88)
Affected by
The next log entry
(on page 7-84)
(on page 7-85)
(on page 7-86)
(on page 7-86)
(on page 7-88)
Section 7: TSP command reference
Displays the present status of the Series
2600B event log.
Output:
1.00000e+00
0.00000e+00
Where saved
Default value
7-87

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents