LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

digital display only used numbers

i have some digital display and data are between 0.00001 and 10. if i define the number of decimal nubers to 5, the display is like : 2.01000, so that's not confortable for human eye. How displaying only 2.01 without useless zeros ?
Thanks
MC
0 Kudos
Message 1 of 4
(2,742 Views)
Hello Mc,

just right-click on the display, select "Format & Precision", choose "Hide trailing zeros"...

(LabView 7, Win2000)

Best regards
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,742 Views)
i'm using LabView 6.1 and i have not this option...
0 Kudos
Message 3 of 4
(2,742 Views)
Hello Mc,

at the moment I couldn't find this option in LV6.1.

Ok, you have to create a little subVI, converting the number to a string and remove trailing zeros by your own...

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,742 Views)