@Dennis_Knutson wrote:
The values on a knob can be anything you want with text labels. The actual numeric value would not be displayed at all. The data type of the knob should be an integer.
Which will then be an enum, somehow.
Okay, got it, thanks for you answers 🙂
Best,
bastlwastl
Sorry, you don't "get it". Dennis is correct (as usual) -- the values can be whatever you define them to be (it makes sense to set them to be the same as the Label, but you don't have to ...). Here's an example -- the Horiz Gain control is of type Dbl, and it is wired to a Dbl indicator (not an Enum). When I run it with the dial set to 0.2, you'll see it return 0.2. [Also note that you have great freedom in defining the labels -- notice I use "Ten" instead of 10.0, just for effect].
A good practice if you create a dial such as this is to go into its properties and set the Data Entry property with Min and Max set to your Dial's Min and Max values, and also set it to Coerce values to this range (just to be safe).
BS