Series 3700 System Switch/Multimeter Reference Manual
eventlog functions and attributes
Use the functions and attributes in this group to control (read, write, enable, count, etc.,) the
event log.
eventlog.enable
Attribute
Usage
Remarks
Also see
Example
eventlog.count
Attribute
Usage
Remarks
Also see
Example
Document Number: 3700S-901-01 Rev. A / August 2007
Reads or controls event log status.
To read event log status:
status = eventlog.enable
To write event log status:
eventlog.enable
= status
status: The enable status of the event log: Use one of the following:
eventlog.ENABLE or 1: event log enable
eventlog.DISABLE or 0: event log disable
This attribute indicates or controls the present status of the Series 3700 event log.
eventlog.count
(on page 9-125)
eventlog.clear
(on page 9-126)
eventlog.next
(on page 9-126)
eventlog.all
(on page 9-126)
To display the present status of the Series 3700 event log:
print(eventlog.enable )
Reads the number of events contained in the event log.
To read the number of events:
N = eventlog.count
N: The number of events contained in the event log.
This attribute indicates the present number of events contained in the event log.
eventlog.enable
(on page 9-125)
eventlog.clear
(on page 9-126)
eventlog.next
(on page 9-126)
eventlog.all
(on page 9-126)
To display the present number of events contained the Series 3700 event log:
print(eventlog.count)
Section 9: Instrument Control Library (ICL)
9-125