Jump to content

Make program activity a testable condition in If statements


Recommended Posts

Currently I can only add If statements testing whether a program state is "True" or "False." Thinking about the popular two-tiered programming model (trigger->conditions), it would be helpful to be able to test whether a program was running or not, i.e., Activity is "Running" or "Idle". That way, in the trigger program, say a motion sensor being switch on, if the conditions program was already running with a wait, you could test for it and not call the conditions program a second time (thus cancelling the current wait).

  • Like 3
Link to comment
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...