LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I cannot change the format and precision of Z-axis back to floating with 0 digits in intensity graph!!! Is this a bug?

I am trying to use intensity graph in my program.  I just found that once I changed the format & precision of Z-axis, I could not change it back to floating point with 0 digits.  Is this a bug?  I didn't find previous discussion here.  I attached my VI.
 
 
0 Kudos
Message 1 of 6
(3,013 Views)
I'm not having that issue with LV 8.2.1

Have you tried using the Advanced editing mode of formatting the scale and maually plugging in "%.0f"?


2006 Ultimate LabVIEW G-eek.

Message 2 of 6
(3,004 Views)

Thanks, Jonnie.  I just tried advance editing mode.  If I put %.1f, it is ok.  All the numbers have 1 digit.  If I put %.0f, I got warning (a red light on the right of format string).

By the way, I am using LV 8.2.

 

0 Kudos
Message 3 of 6
(2,998 Views)
This might be the bug fixed in 8.2.1 referenced as 40FC9LTX

from the bug list: http://digital.ni.com/public.nsf/allkb/CAB9E23506CA6A18862572B8001066C6

40FC9LTX Fixed an issue where a floating-point numeric control cannot show zero digits of precision.

Can anyone out there w/ 8.2 repeat the bug?


2006 Ultimate LabVIEW G-eek.

Message 4 of 6
(2,992 Views)

I'm using 8.20, and can confirm the bug in numeric controls and indicators  Go to "format and precision" and select "advanced editing mode" on the numeric. "%.0f" shows as an invalid format, while "%.1f" is accepted.

A possible workaround is to use %d as the format, or if a string indicator can be used, use format into string with "%.0f" as the format string, which DOES work.

 

Rod.

 

0 Kudos
Message 5 of 6
(2,979 Views)
Thanks, Rod.  I appreciate your help.
0 Kudos
Message 6 of 6
(2,973 Views)