Non-english Windows Generating Compilation Error | Arduino Compatible Compiler for LabVIEW Discussions | Forum

Avatar
Please consider registering
guest
sp_LogInOut Log In sp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSS sp_TopicIcon
Non-english Windows Generating Compilation Error
March 24, 2015
1:26 am
Avatar
filipealtoe
Admin
Forum Posts: 98
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

All;

Wanted to post this just in case folks running non-english versions of Windows run into this issue. The issue is related to the fact that Windows, in some languages, handle the decimal separator of a number as a "," (comma) and not as a "." (decimal point). For instance, if Windows is set to Spain (Spanish); a constant number 3.45 in LabVIEW is interpreted as 3,45 by Windows. This generates a compilation error as the C compiler doesn't understand 3,45 as a number. We have fixed the issue; which will be included with the next release of the compiler coming out soon. 

For the time being, a simple workaround is to change the decimal point style on windows control panel. Navigate to Control Panel, select Region and Language and click on the additional settings button. Another screen will open. Identify the Decimal Symbol field and change the "," to a ".". The snapshot below shows this in more details. As I mentioned above, this workaround is merely temporary so folks who use non-english version of Windows can continue to use the compiler until the next release comes out.

Thanks guys.

 

Non-english-Windows-Workaround.pngImage Enlarger

Filipe

Cheers
Filipe

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
3
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
miche91: 33
scottj: 28
scadao: 23
Member Stats:
Guest Posters: 5
Members: 202
Moderators: 0
Admins: 3
Forum Stats:
Groups: 1
Forums: 2
Topics: 266
Posts: 1222
Newest Members:
pujacontrol
Administrators: geadmin: 22, filipealtoe: 96, Steffan: 356