Stack - 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: Stack (/showthread.php?tid=571) |
Stack - Mirco - 23.01.2017 Hi guys I need your help! How can I implement a stack that can be accessible by all event and resident scripts, but not at the same moment like databases. I have to insert in the stack the allarms that occurs with event script. A resident script check if there are allarms in the stack, and in case it will send all allarms via serial port from first to last. Please help me I don't know how to do that! Thanks! RE: Stack - admin - 23.01.2017 You probably need a queue rather than a stack. See these posts for a solution: http://forum.logicmachine.net/showthread.php?tid=399&pid=2015#pid2015 RE: Stack - Mirco - 24.01.2017 Thank you! |