Installation guide

Momentary and Latching Toggle Configuration
All of the Logic inputs in the HAL system, including those in the HAL hosts, the DR4, and the DR5, allow you
to configure each input port as a toggle and to specify them as either Momentary or Latching. What does this
mean? When you have configured a Logic In port as a toggle, Halogen creates a corresponding toggle control in
the Control palette of the Processing Workspace. You can then link this toggle control to one or more other toggle
controls, which allows an external physical switch, relay, or another similar device to control the state of the tog-
gle. For example, if you link a Logic In toggle control to the mute toggle control of an audio output processing
block, and then attach a physical two-position switch to the Logic In port, the end user can mute or unmute the
audio of the output block by changing the switch position.
What is Momentary and how do I use it?
One way to configure a Logic In port is to set it to Momentary. You use this setting if you intend to connect a
momentary contact type of physical switch to the Logic In port, which could be a push button, for example. With
a normally open momentary push button switch, the switch contacts are open when no one is pushing on the but-
ton and closed when someone pushes the button. Systems typically use these types of switches when the end user
wishes to turn something on (for example open a wall) by pushing and releasing the button and then turning the
same thing off (close the wall) by pushing the button again.
This is exactly what the HAL system does when you have configured a Logic In port to be a Toggle and set it to
Momentary. In this case pressing the button the first time sets the state of the corresponding toggle control in the
Processing Workspace to ‘checked and pressing it again sets the toggle control to unchecked. The following
shows how this works in more detail using a DR5 input port, a momentary switch, and a Room Combine block
wall toggle.
First, the following diagram shows how to connect two normally open, momentary push button switches to DR5
Switch input ports. You should configure these ports as Momentary in the Hardware Workspace property dialog
for the DR5.
CHAPTER 2: Introduction to the HAL System
84