LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the default "digits of precision"

I am using labview 6 now. The default digits of precision is 2. I wonder if there is a way to change the default digits of precision, so that I don't need to change it every time when I use an indicator.

Thanks,
0 Kudos
Message 1 of 3
(3,519 Views)
Not really, there's an undocumented ini setting for setting the default precision of a control, but not the number of decimal places...

Of course you can create your own control with the number of decimal places set to what you want. Every time you place that control you will get the number of places it was set to.

For example, attached is a numeric control with 9 decimal places. Every time you use it you'll get 9 digits of precision.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 3
(3,519 Views)
The undocumented ini setting Mike mentioned (I believe) is

defPrecision

See

http://labview.brianrenken.com/INI/undoc.shtm

for more info.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 3
(3,519 Views)