LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 8.6f1- different decimal point at development & exe

Solved!
Go to solution

Hello,

 

In my program I want to use the decimal point  "." and not the local symbol of the PC.

So I turned of this option in the category "frontpanel".

 

In the development system this works fine, on the screen and in the saved data files (*.lvm & *.xls) the "."  will be used.

 

But when I build an exe file of my program there will always be used a ","  as decimal point (on the screen of the same PC and in all saved data files).

 

Can anybody help me ?

 

jan

 

LV 8.6f1

 

 

 

 

0 Kudos
Message 1 of 5
(3,079 Views)
Solution
Accepted by topic author jan9101

The option is stored in the LabVIEW.ini file. This is what is used by the development environment. When you build an exe, the exe uses application_name.ini. So copy the ini setting (useLocalDecimalPt=False) to application_name.ini and include that in the distribution of your app.

0 Kudos
Message 2 of 5
(3,075 Views)

Hello Dennis,

 

thanks a lot, this works fine.

 

Is that behavior normal or bug ?

 

jan 

 

0 Kudos
Message 3 of 5
(3,067 Views)

The behavior is by design.

0 Kudos
Message 4 of 5
(3,055 Views)

Hi,

 

thanks for info, just a small correction, the line should be

useLocaleDecimalPt=False

(Locale not Local)

 

 

Marek.

 

0 Kudos
Message 5 of 5
(2,619 Views)