I would like to program events in order much like a combination lock. Event A (1st and only 1st), then look for Event B ( Event B must be 2nd and only 2nd), then after that, Event C which triggers the entry. If any of the Events are out of order, or say the 2nd event doesn't hit it's mark then the setup resets and looks for Event A again.
Not like an additive solution but like a sequential one. Think combination lock R-20, L-3, R-11.... If you go too far half way through you have to clear it and start over.
Any Ideas if EasyLanguage can do this and could you point me to where to begin? Thanks and Much appreciated!
I should add that when I say "Event" I mean any signal or indicator based event - not to be confused with a news event.
Last edited by jpeg33; October 23rd, 2016 at 09:42 PM.
Reason: for added detail
This post has been selected as an answer to the original posters question
you can use boolean variables (i.e. true/false ones) for each event/condition. After the first event you'd set the first variable to true and only if this variable is true the second event can set the second variable to true. If the second event occurs without the first variable being true, nothing happens. Similar for the third event, with the slight change that you'd reset variable one back to false in case the third event occurs with variable one being true, but variable two being false.
The following user says Thank You to ABCTG for this post: