Harris Hu Posted March 2, 2022 Report Posted March 2, 2022 有谁知道应该如何进行应用程序恢复?我希望应用程序在计算机突然关闭然后重新打开电源时恢复到断电之前的状态。 Quote
hooovahh Posted March 2, 2022 Report Posted March 2, 2022 Sorry this is an English speaking forum. Google translate: Quote Does anyone know how application recovery should be done? I want the application to revert to the state it was in before the power outage when the computer is abruptly shut down and then powered back on I usually use OpenG Variant Configuration for getting and setting control values. It has a Write Panel to INI, and Read Panel from INI. This allows you to write all control values to a file, and then read the file back and set control values. Depending on your application you may need to do more work, like setting listbox items, or other properties that aren't values. Maybe periodically you could write this file in case a power outage happens. I use a UPS to keep my tester powered long enough to stop any test, or close any log. Quote
crossrulz Posted March 2, 2022 Report Posted March 2, 2022 crosspost on the dark side: https://forums.ni.com/t5/LabVIEW/Application-recovery/m-p/4213987 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.