Owner's Manual (Complete)

Chapter 10—Programs and the Visual Programmer
48 The Home Control Assistant
2. Pick one of these options, and the connecting line from the Test element to the selected
element is labeled appropriately.
3. Since you have labeled one path, HCA now labels the other.
If you later decide that you have the paths incorrectly labeled, you can re-label them by using
the same method.
In this example, assume that the test element has its properties set so that when it executed it does:
Test flag “Web is on” for Yes.
If the flag “Web is on” has the value Yes, then with the paths labeled as in the above graphic,
the next element executed after the
Test element is the On element.
If the flag “Web is on” has the value No, then the next element executed after the Test element
is the
Off element.
The
Exit element comes in handy if you have nothing to do in one path from the test. Since there
is nothing else for the program to do, it stops running. This is what the
Exit element is designed
for.
A program ends when it has executed an element that has no connecting line leading to another
element, or when an
Exit element is executed.
Hint: All the test elements work in this way, that is, they have two paths that lead out from the
element. If the test succeeds, the next element executed is on the Yes path, otherwise on the
No path. The Weather Test, Thermostat Test, MM input test, and others, work like this.