Logic Machine Forum
Power failure - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: Power failure (/showthread.php?tid=2705)



Power failure - gdimaria - 01.07.2020

I was inserting objects into a visu page, often saving the page, when a power failure happened. When power came back I realized I had lost most of the work, despite my page saves.
How is it possible?

Thanks

Peppe


RE: Power failure - Daniel - 01.07.2020

The data is saved in to SDcard (SPI flash) every 30 min. There is sync project data button which force saving to SD. All what is saved during creation of project it is saved in RAM, this is gone in case of power failure.


RE: Power failure - gdimaria - 01.07.2020

OK, so I guess you refer to the sync button on object page?


RE: Power failure - Daniel - 01.07.2020

This one
   


RE: Power failure - gdimaria - 01.07.2020

Yes, Thank you!

BR

Peppe


RE: Power failure - p_xatzi - 07.06.2024

Hi,

Is there any way to force writing RAM to SD Card via script module?

I am interested in saving storage memory to SD Card as soon as a 'storage.set' function is executed.

Thank you!


RE: Power failure - Daniel - 07.06.2024

Frequent saving to SD card will significantly degrade the lifespan of the controller. The automatic saving every 30 min was created for a reason.


RE: Power failure - p_xatzi - 07.06.2024

(07.06.2024, 07:19)Daniel Wrote: Frequent saving to SD card will significantly degrade the lifespan of the controller. The automatic saving every 30 min was created for a reason.

Agree, on the other hand someone could argue that automatic saving every 30 min is most of the time done for no good reason.

There is only a rare case that I need this function that is up to 6 times a year. If there is such possibility I would be grateful if you could tell me.

Otherwise, the application I need (restore last settings on power up) can not be implemented correctly.

Thank you in advance!