LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application Builder uses localized decimal point

I am building an application which will run in countries that use a comma instead of a period for a decimal point. I have turned off the option USE LOCALIZED DECIMAL POINT under options for Labview. This works. However, when I build an EXE using the application builder, the setting is not transferred to the EXE, and the application will not run. Is there a way to set the application builder to not use the localized decimal point?
0 Kudos
Message 1 of 7
(4,515 Views)
When you run your application "myapp".exe for the first time you will notice a file called "myapp".ini is created in the same location as the executable. You need to add the key:
useLocaleDecimalPt=False
to that file. Now rebuild your application and make sure that "myapp".ini is included in your support files and is installed into the same directory as "myapp".exe.

-Jim
Message 2 of 7
(4,519 Views)
Thanks Jim, it works just fine.
0 Kudos
Message 3 of 7
(4,517 Views)
0 Kudos
Message 4 of 7
(4,517 Views)
Also remember the [MyAppName] line in the .ini file - see this thread

Martin
0 Kudos
Message 5 of 7
(4,259 Views)

Hi,

I did as you describe and the App works fine after editing the <app>.ini file

 

I also copied the <app>.ini file into my work dir, included it in my project and put it to the "alsways included" list

 

as soon as i publish the app again the settings are gone and I have to put the line "useLocaleDecimalPt=False" back manually

 

any idea how to solve this?

TIA

---
Nitedula
0 Kudos
Message 6 of 7
(3,773 Views)

Hi Nitedula,

 

don't use the "always included" section - uncheck the "Use the default LabVIEW ini" checkmark in the advanced section of the Build properties!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 7 of 7
(3,758 Views)