Rane HAL1x Installation Guide - Page 57

Select, Binary, tions, example above. As the user changes the switch setting

Page 57 highlights

CHAPTER 2: Hardware Component Details The other type of physical selector device that you can use with a DR4 Logic In is called a 'Binary Selector'. This type of device converts a physical control setting to a binary output value. For example, you might have a switch that has a number of selections, say from 1 to 10. This switch has five pins total - four contacts and a common. When the user changes the switch setting, the switch connects the appropriate contact pins to common such that they represent the binary value of the selected setting. In Halogen we refer to this type of device as a 'binary' selector. It connects zero or more of the contacts to common to represent a binary number that is the desired selection. 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 Binary. Set Selections to be the maximum number of different binary numbers that your switch can represent (10, in our example above). As the user changes the switch setting, the DR4 ports sense the binary value that the switch represents and sets the selection of the corresponding selector control in the Processing Workspace. Of course we need an example. The following diagram shows how to wire a 10 position binary switch to a set of DR4 Logic In 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: 51

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128

The other type of physical selector device that you can use with a DR4 Logic In is called a ‘Binary
Selector’. This type of device converts a physical control setting to a binary output value. For example,
you might have a switch that has a number of selections, say from 1 to 10. This switch has five pins
total – four contacts and a common. When the user changes the switch setting, the switch connects the
appropriate contact pins to common such that they represent the binary value of the selected setting.
In Halogen we refer to this type of device as a ‘binary’ selector. It connects zero or more of the con-
tacts to common to represent a binary number that is the desired selection. 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
Binary
. Set
Selec-
tions
to be the maximum number of different binary numbers that your switch can represent (10, in our
example above). As the user changes the switch setting, the DR4 ports sense the binary value that the
switch represents and sets the selection of the corresponding selector control in the Processing Work-
space.
Of course we need an example. The following diagram shows how to wire a 10 position binary switch
to a set of DR4 Logic In 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:
CHAPTER 2: Hardware Component Details
51