03-04-2014 11:50 PM
Hello.
I am converting a string to several values, strings and numbers but when I want to convert a part of the string into a float, it seems that only the integer part is converting.
Can you figure out what am I doing wrong? I am using LV 8.6.1.
Attached is a pic and the vi.
Thanks,
Vasilis.
03-05-2014 12:04 AM - edited 03-05-2014 12:05 AM
Your attached VI seems to work properly in LabVIEW 2012.
You can also define your format string as %8s %4s: %f
leaving out the "4.1".
Sorry, I don't have 8.6.1 installed to test it in that environment.
03-05-2014 12:08 AM
Hello.
I solved it. It seems to be a localiazion parameter, I am located in Greece, where the comma is the decimal separator.
So, instead of putting "%4.1f", I put "%.;%4.1f" and it worked.
Thanks anyway,
Vasilis.