A lot of UPS models also come with a USB connection to your PC. Additionally, Windows can usually figure out that the device is a backup battery of some sort, but sometimes you have to install the manufacturer's software. Depending on the brand, you might also get a little tool that automatically shuts down your computer when there's 5-10% left of battery life, which is nice if your system is always on and you lose power in the middle of the night.
If you have a UPS in your system, I'd like to suggest always checking the battery status at the beginning of a test. This can be done with the GetSystemPowerStatus in the Windows kernel32.dll. I like to call this code in PreUUT in TestStand. Here's a picture of the LabVIEW code snippet:
We just sent you an email. Please click the link in the email to confirm your subscription!
OKSubscriptions powered by Strikingly