LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

properties of a knob not staying fixed

I create a knob with representation I8.

I want to limit the data range to integer values of 0 to 7.

Furthermore, I want text labels for the 8 values.

I go to Properties/Data Range and set the minimum to 0 the maximum to 7 and the increment to 1.  I carefully turn off the "Use default range" check box. 

I go to Properties/Text Labels.  I enter my 8 text lables one for each of the numeric values.  I carefully turn off the "Use Sequential Values" check box.

I click OK.  I look at my masterpiece.  It looks beautiful, just the way I want it.

Then I run the program.  Only the first and last text labels on my knob are shown.  When I go back to Properties/Data Range the range has been reset to 0 to 127. When I go to Properties/Text Labels the Use Sequential Values checkbox has been turned back on.

What is going on here?

David
0 Kudos
Message 1 of 3
(2,496 Views)
Is there any chance that there are property nodes modifying this in your code?
Can you post an example of this?

___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,485 Views)
Thanks. I found it. I was indeed resetting properties programmatically. I'm a little bit embarrased that I didn't find it myself.

David
0 Kudos
Message 3 of 3
(2,475 Views)