06-07-2017 09:41 PM
Hi,
i wanna ask about save recorded data when my program on process, for example :
i have run my program for long time, then suddenly my power has shutting down, and then i want to run my program again and the value of program calculate rollback from zero again, i want to resume the last progres before the power was shutting down. how to resume it ?
thanks,
06-08-2017 12:19 AM - edited 06-08-2017 12:21 AM
Well, you need to program such feature. One option is to have a log file, where you save the actual values of your calculations at a given frequency. If you get a power failure, you restart your code, and you can load the last saved file content into your code.
Edit: another option is to buy a battery powered UPS so your PC will still run in case of power outages... 🙂