Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  04 Jul 2019, Lukas Gerritzen, Info, Limitations of MSL 
    Reply  05 Jul 2019, Konstantin Olchanski, Info, Limitations of MSL 
       Reply  08 Jul 2019, Stefan Ritt, Info, Limitations of MSL 
          Reply  08 Jul 2019, Lukas Gerritzen, Info, Limitations of MSL 
             Reply  08 Jul 2019, Konstantin Olchanski, Info, Limitations of MSL 
                Reply  09 Jul 2019, Stefan Ritt, Info, Limitations of MSL 
          Reply  08 Jul 2019, Konstantin Olchanski, Info, Limitations of MSL 
          Reply  16 Jul 2019, Lukas Gerritzen, Info, Limitations of MSL 
             Reply  30 Jul 2019, Stefan Ritt, Info, Limitations of MSL 
Message ID: 1638     Entry time: 30 Jul 2019     In reply to: 1621
Author: Stefan Ritt 
Topic: Info 
Subject: Limitations of MSL 
> Would it be possible to add something like the following?
>  343 if (!isdigit(value1_var[i]) && value1_var[i] != '.')
>  344          break;

Actually isdigit() is completely wrong here, because it also fails the minus sign and the 'E' exponent, like in -1.2E-3 

So I changed it to strchr("0123456789.+-Ee", var[i]) which should cover this case. If you put 1.2.3, it takes it as 1.2. 

Stefan
ELOG V3.1.4-2e1708b5