22.06.2022, 15:47
Would it be possible to execute from a LUA script the action made by clicking the button "sync project data" in the bottom right corner of the scada-main interface?
"Sync project data" from a script
|
22.06.2022, 15:47
Would it be possible to execute from a LUA script the action made by clicking the button "sync project data" in the bottom right corner of the scada-main interface?
22.06.2022, 18:55
Why do you want to do that? Save interval is 30 minutes for a reason (protect SD card) so I would not advice to do this automated on a higher speed…
23.06.2022, 06:42
(22.06.2022, 18:55)Erwin van der Zwart Wrote: Why do you want to do that? Save interval is 30 minutes for a reason (protect SD card) so I would not advice to do this automated on a higher speed… The situation is : - I have a pool of several hundreds of LMs - Operation A : I run (on all of them) a script that changes something in the database - Operation B : I run (on all of them) a script that will export some data from the database into a file on the SD card (/www/user/some_file.json) I noticed that the files produced by Operation B, for some of the LMs, were outdated, in the sense that the data in these files did not reflect the changes in the database made during operation A. So naturally, I thought it would be relevant to force-sync project data between operation A and operation B. This is not a protocol that I want to apply routinely (and if I eventually do, it will be only once a day, or even less), so I don't think the SD cards will be damaged because of this.
23.06.2022, 07:23
(This post was last modified: 23.06.2022, 07:30 by Erwin van der Zwart.)
Well export data from the DB is not depending on a sync action as they are executed on the RAM loaded DB and not on de DB that is stored on the SD card as far as i know so there must be another reason why operation B is getting outdated info. Could there been a power interuption on the devices with outdated data between operation A and B?
23.06.2022, 07:42
|
« Next Oldest | Next Newest »
|