UPS make my program get a problem.
I use some computer that connect to UPS. Some time when electric problem occurs it will make UPS work. OK that UPS can make a backup electrical for my PC but sometime like the time that UPS is low battery it will try to shutdown my PC before battery is empty. That is a problem , it shutdown in a time that my program still running. It's make my program get some problem and relate to database (I mean my database will not be used after this problem). So I think if UPS can shutdown my PC, it maybe use the way that send some command to my PC to shutdown. However that is my problem that I don't know more than this. My I ask you like this.
1. How that UPS connect to PC? (I see some communication line on this case but I don't know more.)
2. How can I try to break the shutdown process and save all of my data and then shutdhown it with my program? (Sure that my program is developed by VB.)
All of this solution for make sure that it's a good result for my computer and for my program (shutdown befor no electrical but shutdown after all data is save).
I will try to look this post in most time for discuss everything with you.
Do you want the UPS to control your PC?
I have a UPS, but I never installed the s/w that came with it or the serial cable to the PC.
It's used ONLY for the batteries and whatever line filtering it provides.
This PC essentially never runs unattended, i.e. it's not a blackbox server running in a closet somewhere, so when the power goes out someone knows and hears the UPS beeping so a controlled, manual shutdown can be done.
So, if you don't want the s/w overhead, or questions about any strange program interactions or undesired "HAL" type control of your PC, then uninstall any software that came with the UPS and disconnect the control cable. (just my opinion)
Have fun, DaveBo