12-06-2012 04:38 PM
Dear all,
my UPS software pops up notifications in the systray for various events, the electricity outage (blackout) among the others.I have found some very useful articles explaining in detail how to create notifications using the NOTIFYICON .NET class, but I could not find something similar to caprture the notifications that popup at the lower right side of the screen.
If the message is captured, the Labview will send me a message that the power is out and I will fix it again.
Do you have any idea ?
Many thanks in advance.
George
12-06-2012 09:06 PM
See if this link works for you. I've used to check the status of an APC UPS. Their driver seems to tie into the Windows power API.
Calculating the System Power Source and Battery Information in LabVIEW
12-06-2012 09:07 PM - edited 12-06-2012 09:09 PM
Post duplicated itself.
12-06-2012 09:08 PM - edited 12-06-2012 09:10 PM
Post went in 3 times.
12-07-2012 07:00 AM
Dear RavensFan,
before posting i had one interest. Now i have two. Your approach is very clever but for some reason the GetSystemPowerStatus function does not seem to produce the desired data e.g. battery status, remaining time etc. I don' t know if this happens due to the sw of the UPS (APC PowerChute Personal Edition) or due to xp settings. The PC runs XP SP3, .NET 4 framework. I would like to make it work because it gives a lot of information.
Apart from this, my initial interest on capturing the popup notifications remains.
Thank you for your answer !
12-11-2012 08:37 AM
Dear all,
allow me to make clear my question:
I' m looking for a solution to either:
Many thanks.