Page 2 of 2

Re: Data confusion

Posted: Thu 30 Jul 2015 2:07 pm
by haeb
Hi Steve,

O.K. i need a new mono. I have got mono 3.10.0 running now and everything seems to be O.K.

I don't ask why did it work before the accidentally run of cmx and what did change since then... :-)

Regards
Horst

Re: Data confusion

Posted: Mon 03 Aug 2015 12:32 pm
by haeb
Hi Steve,

it seemed quite O.K.! But now - i am using Mono 3.10.0 and CMX 3026 - i do have commas in my logged data. I am using the same locales than before the accident. Which settings have to be adjusted?

Regards
Horst

Re: Data confusion

Posted: Mon 03 Aug 2015 12:40 pm
by steve
Sorry, I don't understand. Mono 3.10.0 is (apparently) OK with decimal commas. If the locale you are using (and supply to MX on the command line, just to be sure it uses the correct locale) uses decimal commas, then that's what MX will use. There are no settings in MX for this.

Re: Data confusion

Posted: Mon 03 Aug 2015 1:33 pm
by haeb
Hi Steve,

i have used CMX and mono 3.6.0 up to 07/30 with the locale parameter -lang de-DE. My Raspi also had the locale setting LANG=de_DE.UTF-8. CMX wrote dots in my data files.

On 07/24 i had an accident which led to commas in some data files of cumulus. I have changed all commas to dots. Then mono were changed to 3.10.0 which seemed to work.

But, since the day mono was changed, CMX writes commas in my data files and the older values have dots (look attachment 371.0 should be 31.7).

Now what should i do:
Change all dots in all settings and data files to commas?
Change any settings in mono?
Change the -locale de-DE?

Thanks for your patience
Horst

Re: Data confusion

Posted: Mon 03 Aug 2015 1:49 pm
by steve
Using a German locale with a version of Mono which correctly handles decimal commas will give you decimal commas in the data logs, this is the way it is intended to work, and if everything else was working as it should be, this is how it would work. I made it clear from the start that there were issues with decimal commas on Linux, mainly because of older versions of Mono. The ini files will always use decimal points. The user interface may display commas in some places and decimal points in others, depending on where the values were formatted and whether the package used supports decimal commas or not. The use of decimal commas in displays is not always under my control, sorry.

How you want to move forward is entirely up to you. Having mixed decimal points and decimal commas in your data logs is probably not a situation that you want to be in, as demonstrated in your example.

Re: Data confusion

Posted: Mon 03 Aug 2015 2:51 pm
by jank
haeb wrote: i have used CMX and mono 3.6.0 up to 07/30 with the locale parameter -lang de-DE. My Raspi also had the locale setting LANG=de_DE.UTF-8. CMX wrote dots in my data files.
Horst, may I ask you a question which is not completelöy clear for me.
My system:
Raspberry Pi: Raspberry Pi 2 Model B
System Language is: de_DE.UTF-8 and Language used in CumulusMX is: German
Version of Mono is Mono JIT compiler version 4.0.2 (Stable 4.0.2.5/c99aa0c Wed Jun 24 10:33:52 UTC 2015)
Here is an excerpt from my Data Logs
03.08.15;16:30;31,6;38;15,5;7;14;118;0,0;0,0;1015,1;1269,1;24,6;52;6;31,6;31,6;0,0;0;0,00;0,00;32,2;852;0,0;180;0,0;0,0
03.08.15;16:40;31,8;37;15,3;2;6;166;0,0;0,0;1015,1;1269,1;24,6;52;0;31,8;31,8;0,0;0;0,00;0,00;33,2;826;0,0;0;0,0;0,0

You are using a 3.x Mono Version, so I assume, you are having a Raspberry Pi B with 512MB RAM?
when I started witzh my Raspberry Pi and CumulusMX, I had similar problems with dots and commas and also the problem with -- >371.0 should be 31.7
I switched to a Raspberry Pi 2 and installed the new Mono version and fixed all Problems step by step, also by modifying old Data, created in the past years from my Windows System.
I have mor Problems anymore.
Jan