10-27-2014 03:44 PM
Hi friends,
I use numeric contol(DBL). I would like to write decimal number, for example, 2.4, but the number is seen 2,4. How can it change from comma to point?
10-27-2014 03:54 PM
Fix your Windows settings so it uses a decimal point.
10-27-2014 05:45 PM
LabVIEW just uses whatever decimal character is set for the OS. For a lot of the world, it is a comma. If you don't like it, then change your OS settings.
10-27-2014 09:17 PM - edited 10-27-2014 09:18 PM
If you want to keep the OS setting as is, simply go to the LabVIEW options and uncheck "front panel...use localized decimal point". Now you get a period independent of the language setting of the OS.
In addition, you can define the decimal separator of any individual control by using advanced formats (prepend %.; or %,; depending on what you want). Using this method you can even have a front panel with some controls using comma and some using a period (see image). Not that this is a very smart idea, though ;))
See also this note.
10-27-2014 09:25 PM
Yep. That works. I was trying that but couldn't get it to work. It kept giving me an invalid string. Turned out the space that was still in there from the original string was messing it up.
10-28-2014 12:46 PM - edited 10-28-2014 12:50 PM
Ok.Thank you