LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a dial to click to numbers

Solved!
Go to solution

I want a dial to only be able to move to the numbers on the dial, not be able to be dragged to spaces in between the numbers. Like how some dials click to each number there's no in between selection possible

0 Kudos
Message 1 of 2
(2,571 Views)
Solution
Accepted by topic author benm92

Force the Control to take on specific values.  One way to do this is to make it an "Integer" (as opposed to a Float) Control, and have a small range of Integers.  You can also right-click the Control and change its Data Entry Properties.  For example, if your Control was a Float, and you set the Increment property to 2 and the Respond to Value property to "Coerce to Nearest", you could only set it to 0, 2, 4, 6, ... .

 

Bob Schor 

0 Kudos
Message 2 of 2
(2,557 Views)