Windows Event Viewer Log as Alarm Bit In Zenon

Windows Event Viewer Log as Alarm Bit In Zenon

Hi all, I am using Zenon Supervisor 7.60 version. There is a situation when mains power fails the PC operates on UPS supply and there is an event generated in windows event viewer. [FONT=Arial]This is regarding Reading Windows event logger. When we connect UPS to PC we get status information in Windows Event Viewer as shown in the attached image. Please tell me how to write the code in csharp to generate a boolean bit so that i can use it for alarm and event for the same. If you have any code for similar function please share. [/FONT]

This is a migrated post! Originally posted on 22.09.2019 by user nivish. Please be aware that information can be outdated.