LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

String to Float point value

Solved!
Go to solution
Please make an atomic VI that only cotains the scan function, your indicator, and a string control. Is the problem still there?
0 Kudos
Message 21 of 28
(1,060 Views)

Hi,

 


I tested it with the VI attached. I continue without seeing the 5 digits.I know it sounds very strange and no -sense what is happening to me... Is why I asking you...

 


Thanks!

 

0 Kudos
Message 22 of 28
(1,054 Views)

Those are the markers- since they are set to uniform spacing and autoscale is enabled they will be in = increments.

there are a few limits on marker formating. (Exactly 6)

untitled.PNG

As you can see the marker spacing is always the least number of sig digits that make sense- they are gridlines.  but! you can type any value into a top- bottom ar arbitrary marker and LabVIEW will use that value.

 

  Here I used an arbitrary marker and set it to numerics value

untitled.PNG


"Should be" isn't "Is" -Jay
0 Kudos
Message 23 of 28
(1,048 Views)

Hi, 

 

This is the result of the shor application: 

 

 

Hope it helps!

 

Thanks for all!

 

0 Kudos
Message 24 of 28
(1,045 Views)

Are you talking about the numeric indicator or the chart?

 

Your numeric indicator is now configured to show 6 significant digits and hide the trailing zeroes. This is different from the VI you posted earlier that was configured to show 5 decimal digits (%.5f).

 

I would be very surprised if converting from 2009 to 2010 would change that.

 

Can you tell us exactly what the string is, what you want to see, and what you are actually seeing.

0 Kudos
Message 25 of 28
(1,041 Views)

Hi,

 

sorry I have been making some changes and perhaps I posted it wrong. Sorry!

What I'm seeing now is:example.JPG

 

 

I attached also the VI to let you prove to know if you see that.

 

Thanks!

0 Kudos
Message 26 of 28
(1,038 Views)

From the graph picture (y-axis), you are now using a computer that uses comma as a decimal seperator (e.g. german OS?). Now the period in the string has no meaning and is treated as a delimiter.

 

Try format "%.;%.5f" instead.

Message 27 of 28
(1,036 Views)

Hi,

 

Yeeeeessssssss!!!!!Thank you so much! This was the issue, I won't discovered without your help!!!

 

 

Kudooosssss for you!!!   Smiley Very Happy

 

 

0 Kudos
Message 28 of 28
(1,030 Views)