LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to read windows events in labview

Solved!
Go to solution

I want to read the windows Event Viewer .Evt File  to get information about windows shutdown, startup,restart.......etc

and log it to my database.

Mahmoud Alshair
Intelligent Systems Integrator ( ISI )
System Developer
0 Kudos
Message 1 of 3
(4,040 Views)

Hello M. Shair,

 

I think the easiest way to do this will be to save the event logs as a .txt or .csv file.  Take a look at this article. There is a section titled "How to Archive a Log.

Regards,

Jon S.
National Instruments
LabVIEW NXG Product Owner
0 Kudos
Message 2 of 3
(3,996 Views)
Solution
Accepted by topic author M.Shair
You could also take a look at Microsoft's LogParser. You can call the executable from the command line using System Exec. It supposedly also has an ActiveX interface.
0 Kudos
Message 3 of 3
(3,981 Views)