Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-125
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
Reads or controls event log status.
Usage
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
Remarks
This attribute indicates or controls the present status of the Series 3700 event log.
Also see
eventlog.count
(on page 9-125)
eventlog.clear
(on page 9-126)
eventlog.next
(on page 9-126)
eventlog.all
(on page 9-126)
Example
To display the present status of the Series 3700 event log:
print(eventlog.enable )
eventlog.count
Attribute
Reads the number of events contained in the event log.
Usage
To read the number of events:
N = eventlog.count
N:
The number of events contained in the event log.
Remarks
This attribute indicates the present number of events contained in the event log.
Also see
eventlog.enable
(on page 9-125)
eventlog.clear
(on page 9-126)
eventlog.next
(on page 9-126)
eventlog.all
(on page 9-126)
Example
To display the present number of events contained the Series 3700 event log:
print(eventlog.count)