Logic Machine Forum
Script for evaluating alarms - 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: Script for evaluating alarms (/showthread.php?tid=3833)



Script for evaluating alarms - tomnord - 28.01.2022

Hello. I need to make a easy scalable soulution for alarm evaluation.
I want to use a GA named "VALUE1" and then evaluate it against a GA named "LOW1" and "HIGH1". If VALUE1 below LOW1, the LAL1 is to high and so on.

So the script part I can fix easily, but would it be possible to make a script that adds the other GAs as virtual GA, and automaticly adds the eventbased script to "VALUE" GA? 
If I'm making any sense.. The GA's will be written to from a BMS system.


-Regards