Logic Machine Forum
Event Scipt pause/resume - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Event Scipt pause/resume (/showthread.php?tid=2903)



Event Scipt pause/resume - Frank68 - 15.10.2020

Hello

In a script based on an event related to an alarm, in the event of a bus failure and return, it generates an alarm for me as the values are rewritten how can I intercept the internal function so that if the value is the same as the one before the failure, it does not send an alarm ?


Does a variable inside an event script keep its value even between one call and another of the script?

BR,


RE: Event Scipt pause/resume - admin - 15.10.2020

You can use storage for this, some examples: https://forum.logicmachine.net/showthread.php?tid=347