Re: Detect power redirection to ups

From: Stephane Belzile (stephan.belzile_at_cgi.com)
Date: 10/12/04


Date: 12 Oct 2004 06:32:29 -0700

Thank you Nick

Actually, I'm developping a device that will be connected to the
serial port of thousands of cash registers all over the country. In
fact, I don't know which UPS unit will be in used if there is any.
Since I'm dealing with very sensitive data, I don't want to loose
anything in case of a power failure. I'm know the OS gets notified
when the UPS unit start to deliver the power after a power failure
(You confirmed that). And I'm pretty sure that the OS must send a
message to all running application to let them know. My question is,
how can I pick up this message when it happens or when the power comes
back?

"Nick Malik" <nickmalik@hotmail.nospam.com> wrote in message news:<qKw9d.435291$8_6.368115@attbi_s04>...
> Most UPS vendors support a method for communicating the status of their
> devices and the power supply. Most of them even have software that they
> sell or give away that will monitor your UPS device for power failure, so
> that you can shut down a machine.
>
> For large networked systems, you'd use a MIB and SNMP, because the larger
> UPS devices can speak over a network. The smaller devices, for personal
> computers, often hook up over USB. For that, you will probably be best off
> using the software that comes with the UPS. For example, if you have an APC
> device, you would use Personal PowerChute, which is a free download from
> their web site www.apcc.com
>
> So, I ask, are you trying to do this for a server-sized UPS device that you
> can hook to your network, or a smaller unit that you will hook to a
> particular machine? If the former, SNMP is your method. If the latter, you
> are doing either USB programming (proprietary, in all liklihood) or you can
> configure the tools that come with the device to call your app.
>
> Good Luck,
>
> --- Nick
>
> "Stephane Belzile" <stephan.belzile@cgi.com> wrote in message
> news:60e5a8a4.0410080518.422e0f8c@posting.google.com...
> > Is there a way I can detect in vb.Net the power has switched to a UPS
> > unit in case of power failure?
> >
> > Thanks



Relevant Pages

  • Re: Windows XP Home Ed Crash
    ... but a total power failure. ... I don't know what you mean by "UPS". ... Doing Repair installs and Recoveries can get to be a hassle after you've ... had totally crashed due to a virus enfection; no virus protection had been ...
    (microsoft.public.windowsxp.general)
  • Re: Windows XP - Hibernate
    ... Depends what type of UPS you have - some will use the battery at all times, ... others only in case of a power failure, ... Maybe a review of the UPS instructions would help. ... This happens when the power schemes says "never" for hibernate. ...
    (microsoft.public.windowsxp.basics)
  • Re: leaving computer on
    ... the modem is turned off or set to ... If there is a good firewall they probably can't ... >If you have a UPS with auto-shutdown the computer is ... >probably safe from power failure, ...
    (microsoft.public.windowsxp.general)
  • Re: Ghost image fails to restore properly?
    ... >I tested memory, hard drive itself (Seatools), ran ... I'm not familiar with Ghost, my best guess would be that the momentary power ... I knew I should use a UPS but never bothered. ... we had another brief power failure: and the computer and I just ...
    (alt.sys.pc-clone.dell)
  • Re: UPS for 2 PCs
    ... tidy shutdown after a power failure? ... I bought a cheap UPS around this range, slightly higher capacity actually, ... average at a load of about 70%. ... I have a 4 year old APC Smart UPS 700 with it's original battery, ...
    (uk.comp.homebuilt)