paulw Posted December 1, 2009 Posted December 1, 2009 Is it possible with the 99i to set "flags" or counters in one program that can be tested for in another program? Paul Quote
Michel Kohanim Posted December 1, 2009 Posted December 1, 2009 Hi Paul, In a limited way, yes. Each program can be used as a flag. So, if the program is true, then testing for that program is also true and vice versa. With kind regards, Michel Is it possible with the 99i to set "flags" or counters in one program that can be tested for in another program? Paul Quote
sanders2222 Posted December 2, 2009 Posted December 2, 2009 If I understand you correctly, program flags can control many ISY functions. Here is a simple example that sets a ‘Flag Prime’ to true when it is between specified evening hours. Program ‘Prime Time’ If From Sunset - 45 minutes To 11:05:00 PM (same day) Then Run Program ‘Flag Prime’ (Then path) Else Run Program ‘Flag Prime’ (Else path) Except for the limited time above, the ‘Flag Prime’ in the ISY is false. Flag Prime is like any other program . But it has no conditions or actions. The following program runs when I return home. It uses the program flags to turn on my outdoor lights for 15 minutes, but only when it is prime time. Program ‘Arrive Out’ If Run Program ‘Flag Prime’ is True And Run Program ‘Leave’ is True Then Run Program ‘Limited Out’ (Then path) Else - No Actions - (To add one, press 'Action') Hope this helps. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.