Page | 189
9.7.4
Program: 'Movie Time Start/Stop' - Not Enabled
If
Program 'Movie Time Start/Stop' is False
Then
Set 'Kitchen Movie Scene Fade' Off
Set 'Living Room Movie Scene Fade' Off
Else
Set 'Kitchen Movie Scene Fade' On
Set 'Living Room Movie Scene Fade' On
Set 'Main Bath' On
In this group of programs, only the Movie Time Macro program is enabled, so that Movie
Time button presses will activate it. The other programs are not enabled, in order that they
not run independently, but only when called from another program.
The Movie Time Flag program has no conditions or actions. It simply serves as a status flag.
When the Then path is run, the program's status becomes True, and when the Else path is
run, the program's status becomes False.
The Movie Time Macro program receives a button press and calls the Movie Time Prep
Program’s If clause. On the first button press, Movie Time Flag will be False, and so Movie
Time Prep will run its Then path, which executes the preparation statements. It also calls
the Else path of Movie Time Start/Stop in order to initialize that program's status to False,
and immediately calls Stop to prevent the statements in the Else clause from executing.
Finally, it calls the Then path of Movie Time Flag, setting it to True. Successive button
presses will therefore cause Movie Time Prep to run its Else path, which calls Movie Time
Start/Stop.
On the first call to Movie Time Start/Stop, its status is False which means that its condition
is True. It therefore runs its Then path, executing the movie start statements, and setting its
status to True. Therefore, on the next call its condition will be False, and it will run its Else
path, executing the movie stop statements, and setting its status back to False. Successive
calls will cycle between Movie Start and Movie Stop.
Summary of Contents for ISY-994i Series
Page 1: ...The ISY 994i Home Automation Cookbook ...
Page 35: ...Page 12 Figure 6 UDAjax Main Screen ...
Page 36: ...Page 13 Figure 7 UDAjax Devices Scenes Screen ...
Page 68: ...Page 45 Figure 44 NodeServer Configuration popup 5 2 5 Tools Menu Figure 45 Tools Menu ...
Page 102: ...Page 79 6 6 3 2Activate My OpenADR Portlet Figure 77 OpenADR My OpenADR Menu Option ...
Page 103: ...Page 80 6 6 3 3Configure OpenADR Settings Figure 78 OpenADR Settings Menu Option ...
Page 104: ...Page 81 Figure 79 OpenADR Settings Display ...
Page 108: ...Page 85 6 6 3 7Issue an Event Figure 84 OpenADR Issue and Event ...
Page 110: ...Page 87 Figure 86 OpenADR Event Viewer ...
Page 116: ...Page 93 Figure 92 ElkRP2 Account Details M1XEP Setup Button In the M1XEP Setup Window ...
Page 267: ...Page 244 Figure 189 State Variables ...
Page 268: ...Page 245 Figure 190 Programs and Folders ...
Page 292: ...Page 269 Figure 192 Irrigation Folders Figure 193 Irrigation Devices ...
Page 376: ...Page 353 Figure 209 Save Topology File ...
Page 433: ...Page 410 Figure 242 X 10 recognized as Living Room East Device ...
Page 540: ...Page 517 Figure 357 In Car Detection 12 Figure 358 In Car Detection 13 ...
Page 602: ...Page 579 Figure 382 SecureCRT SSH Raspberry PI Session ...
Page 685: ......