From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make ring box values to have decimal places

Solved!
Go to solution

How to make ring box values to have decimal places

 

thanks in advance

0 Kudos
Message 1 of 4
(2,998 Views)
Solution
Accepted by topic author JonathanChiam

From the control property editor:

Change the representation on the Data Type Tab to a floating point type, DBL will do.

Then go to the Display Format Page and increment "Digits" to something greater than1

 

That switches the Values Column on the Edit Items tab to %.6f or, 6 Digits of precision. Next, Uncheck Sequential values and there you are.

 

If you think that is still too limiting, Go back to the Display Format and select SI Notation and you can type anything (But, the editor has a hissy fit so you need to programatically load Strings and Values[] property with a property node)  

 

I've been fighting to get NI improve that property editor for years!


"Should be" isn't "Is" -Jay
Message 2 of 4
(2,990 Views)

Ayyyy i managed to get it. Thanks alot mate 😄

0 Kudos
Message 3 of 4
(2,977 Views)

No problem- go back and read my edit on using property nodes to load SI Notation values if you need a larger range of values


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 4
(2,966 Views)