Reference Design Content

cancel
Showing results for 
Search instead for 
Did you mean: 

Event Logger Library

The Event Logger Library (ELL) provides an API for logging user events and errors to disk.

Description

The Event Logger Library is an event logging API which supports two different event file types: TDMS and CSV.  The ELL works by storing events in a buffer and then flushing the events to disk at a user defined interval.

It is recommended to use the Event Logger Library in conjunction with the LogRotate Library in order to control the size of the event log file.

Examples

Below is a screenshot of an example of user the ELL:

ELL_example.PNG

Requirements

Software

  • LabVIEW 2012

Support

Please post comments, feedback and questions in the comments below.

History

VersionDateDescription/Changes
1.0.0.8July 2013Initial Release
1.0.0.9April 2016Fixed issue related to the timestamp formatting for CSV files



Downloads

Use VI Package Manager (VIPM) to install this library.

Event Logger Librar on VIPM

Comments
ravyh
Member
Member
on

There is a simple little (but kind of "important") bug in the CSV log files - the values are not "comma" separated but tab separated 🙂

kdevelle
Member
Member
on

Hello
I have just noticed that if there is an empty line in a csv event file (in my case, it was coming from the fact that I was using an error ring and including the call chain), the read csv return an error 1 :
Scan From String (arg 1) in LogFile CSV.lvclass:ReadEvents.vi->EventLog.lvclass:Read_CSV.vi.

Is someone is still maintaining this packages?

Contributors