Owner's Manual (Complete)

Chapter 10—Programs and the Visual Programmer
32 The Home Control Assistant
You can also use this element to start another program running. If you do, the program will run
concurrently with the current program. The current program continues to the next element as soon
as the other program starts.
Play sound
The play sound element plays a WAV file using whatever sound system your computer contains.
If you don’t have a sound system, you will not hear anything.
Hint: When this element executes, you will not hear anything if the computer is not near enough
to you, the speakers are not on, or the speakers are not loud enough.
1. Use the browse button to select the WAV file that you want to play.
2. Click OK.
If you create your design file (the .HCA file) on one computer, and then move it to another
computer, check your programs for
play sound elements. If you have play sound elements,
you must make sure that you move the WAV files and place them in the same directories as
they were on the machine you are moving from.
Hint: Use the Design Inspector (from the HCA menu) to verify that all the paths to WAV files in
your programs do indeed locate their WAV files.
Read Data
The Read Data element is a way to get data, perhaps produced by another Windows program, into
HCA. The file it reads consists of a number of lines where each line is of the form flagName =
expression. In effect, each line is treated as if it was in a Compute element.