Originally Posted by
slip.cougan
So I've been having a play with sequences.
I remember trying to use them a few years back and seem to recall that I gave up on them.
However current project requires lots of conditional and lots of sequential stuff.
Running any sequence is fine, but how do you (or can you) stop a sequence in mid flight.
Lets take the scenario I'm working through:
The sequence 'away seq' is:
Step 1. Set the 'exit' var to on
Step 2. Turn off all the apartment lights except the lobby
Step 3. Close all the shades
Step 4. Turn off the lobby lights
Step 5. Reset the 'exit' var to off
This sequence is attached to a Push & Hold event by the main entrance.
So user wants to head out. They push and hold the [Away] button and the sequence starts. They suddenly realise they left their keys in the bedroom.
User presses the [Home] button, but the lights have gone out in the remainder of the apartment already and the sequence is still running so shortly the lobby lights are going to go out too.
The purpose of the 'exit' var was to enable me to catch the running sequence, and I figured I could check it's status and if it's 'on' the issue a stop command.
This does not work!
So how do I stop an already running sequence?
Cheers
-s