LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use a "." instead of a ","

Hello,
how can i use an point instead of an comma as separator in doubles? Is there
an option somewhere in LV6.1 on a german Win2000-system?
Thanks for help
Mark
0 Kudos
Message 1 of 4
(2,702 Views)
From the LV 6.1 Help File:

Front Panel Options Page
Select Tools»Options and select the Front Panel page from the pull-down menu.

Use this page to set front panel options.

Use localized decimal point�Uses the decimal separator for the operating system instead of the period. Place a checkmark in this option if you want LabVIEW to operate within the system configuration. Remove the checkmark from this option if you want LabVIEW to use periods in all cases for the decimal point.
Note Changes to this option take effect the next time you start LabVIEW.


2006 Ultimate LabVIEW G-eek.

Message 2 of 4
(2,702 Views)
Hi Mark,

In the options under "Front Panel" there's an option to use the local settings for decimal point. this should solve your problem. please bear in mind that using "scan from string" afterwards with text using "." will NOT be read properly.

Look here for more information on how to deal with such problems.

Hope this helps.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 3 of 4
(2,702 Views)
"Mark Tumman" wrote in
news:c60md6$6jjso$1@ID-1670.news.uni-berlin.de:

> Hello,
> how can i use an point instead of an comma as separator
> in doubles? Is
> there an option somewhere in LV6.1 on a german Win2000-system?
> Thanks for help
> Mark
>

Other have mentioned the front panel option others.

You should also be aware of format identifiers
"%;" Use decimal sign as specified in system configuration
"%,;" Use . as decimal seperator
"%.;" Use , as decimal seperator
which is used in "Scan from string" and "Format Into String"

--
Rolf
0 Kudos
Message 4 of 4
(2,702 Views)