Re: Detect power redirection to ups
From: Stephane Belzile (stephan.belzile_at_cgi.com)
Date: 10/12/04
- Next message: Peter: "Re: Can .NET mix with Java ?"
- Previous message: Henrik Bergman: "Send mail using CDO.Message and CDO.Configuration, anyone succeeded?"
- In reply to: Nick Malik: "Re: Detect power redirection to ups"
- Next in thread: Nick Malik: "Re: Detect power redirection to ups"
- Reply: Nick Malik: "Re: Detect power redirection to ups"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Peter: "Re: Can .NET mix with Java ?"
- Previous message: Henrik Bergman: "Send mail using CDO.Message and CDO.Configuration, anyone succeeded?"
- In reply to: Nick Malik: "Re: Detect power redirection to ups"
- Next in thread: Nick Malik: "Re: Detect power redirection to ups"
- Reply: Nick Malik: "Re: Detect power redirection to ups"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|