Rane HAL1x Design Guide - Page 52
Selector, One-Of, One-Of Selector
View all Rane HAL1x manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 52 highlights
HAL SYSTEM DESIGN GUIDE l Selector: In this option, you can configure one or more Logic In ports to control the state of a corresponding selector control in the Control palette of the Processing Workspace. You can connect a physical device to any or all of the Logic In ports and configure the ports in Halogen so that they make the desired selection according to the state of the physical device. One-Of Selector One type of physical device is a multi-position switch, which can connect one common contact to any one of a set of other contacts. For example, suppose you have a four position switch, which has four contacts and a common. When the switch is in position one, the switch connects contact number one with common, leaving the other three contacts open. When the user changes the switch to position two, it disconnects contact one and connects contact two to common, and so on. In Halogen, we refer to this type of physical switch as a 'One-Of' selector. It connects one (and only one) of the contacts in a set to a common pin on the switch. To use this type of switch with the DR4 Logic In ports, configure the Logic In ports to be a selector (Select in the drop down box) with the desired number of ports (four in our example) and set the type to be One-Of. When the connection to a Logic In port is open (not connected to ground), the hardware pulls the input to a logic high value (5 V). When a connected device pulls the port below the logic low threshold (specified in the DR4 data sheet), the port senses this and, when configured as part of a one-of selector, sets the value of the corresponding selector control in the Processing Workspace. The default value of a one-of Selector control is to select the first item in the list of selections. The example below shows how a DR4 one-of selector works. The following diagram shows how to wire a multi-position switch to a set of DR4 ports. The image below shows the corresponding Selector control in the Control palette of the Processing Workspace. It also includes the DR4 property dialog showing the Logic In port configuration: 48