This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Stack
#1
Question 
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! Confused 

Thanks!
Reply
#2
You probably need a queue rather than a stack. See these posts for a solution:
http://forum.logicmachine.net/showthread...15#pid2015
Reply
#3
Thank you! Smile
Reply


Forum Jump: