EasyManuals Logo

Tektronix KEITHLEY 2600B Series User Manual

Tektronix KEITHLEY 2600B Series
834 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #414 background image
Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-93
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 2019, LAN2, 192.168.1.102, LXI, 0, 1570728502, <no time>, 0, 0x0
Example 2
print(eventlog.next())
If you send this command when there is nothing in the event log, you get the following output:
nil
Also see
eventlog.all() (on page 9-90)
eventlog.clear() (on page 9-91)
eventlog.count (on page 9-91)
eventlog.enable (on page 9-92)
eventlog.overwritemethod (on page 9-93)
eventlog.overwritemethod
This attribute controls how the event log processes events if the event log is full.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Instrument reset
Recall setup
Not saved
1 (eventlog.DISCARD_OLDEST)
Usage
method = eventlog.overwritemethod
eventlog.overwritemethod = method
method
Set to one of the following values:
â–ª 0 or eventlog.DISCARD_NEWEST: New entries are not logged
â–ª 1 or eventlog.DISCARD_OLDEST: Old entries are deleted as new events
are logged
Details
When this attribute is set to eventlog.DISCARD_NEWEST, new entries are not logged.
When this attribute is set to eventlog.DISCARD_OLDEST, the oldest entry is discarded when a new
entry is added.
Example
eventlog.overwritemethod = 0
When the log is full, the event log ignores new entries.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix KEITHLEY 2600B Series and is the answer not in the manual?

Tektronix KEITHLEY 2600B Series Specifications

General IconGeneral
BrandTektronix
ModelKEITHLEY 2600B Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals