LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

include 'useLocaleDecimalPt=False' in .ini file of .exe

Hey, when building an executable of my software, I always have to manually include the 'useLocaleDecimalPt=False'-line in the ini file of the exe. It's important this is done, to avoid problems with the data in Matlab, but because our software is still evolving, lots of versions are made and thus an automated inclusion of this line in the ini file would be very handy. Is this possible and how? Thanks
0 Kudos
Message 1 of 5
(4,156 Views)
Hello,
 
In labview options, you can unselect "use localized decimal point". Isn't this enought?
 
See where it is, on the attached picture.
Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 2 of 5
(4,138 Views)
Well, we would use the executable on machines with only the RunTimeEngine installed, so, unless i'm mistaken, i can't uncheck that box on those machines. And it seems that when an exe is build with a Labview install with that option disabled, I still have to explicitly include that line in the ini to make sure no comma's are used as decimal seperator.

This can be done as well be changing the language settings on those machines, but people (read: I) tend to forget that after a clean install (with an image with language settings to dutch, belgium).

Is this a better explanation of my 'problem'?
0 Kudos
Message 3 of 5
(4,121 Views)
Hi Frank,

when building an app you can include your own ini-file! So edit the ini file once and include it in your project. Then edit the app-building settings to include that ini-file the next time...



Message Edited by GerdW on 06-12-2008 09:58 AM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 5
(4,119 Views)

Aha, wonderful!
Thanks, that saves me a lot of copy/pasting.
Now I can't believe I didn't figure that out myself...

Thanks again!
Frank

edit: I would rate your answer, but I don't have enough posts, so consider this my unofficial rating



Message Edited by Frank_Mathijs on 06-12-2008 03:10 AM
0 Kudos
Message 5 of 5
(4,114 Views)