Zero

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: The basics of formulas? #5356
    AvatarZero
    Participant

    Hello again,

    I did exactly that, lots of error. so I reverse engineered the rules (more or less) by these errors. 2 errors remain

    2019-04-24 10:45:17 <LTITIS01012><SYSTEM><ACT> ScadaServerService 5.1.1.0 is started
    2019-04-24 10:45:17 <LTITIS01012><SYSTEM><ACT> Check the existence of the data directories is completed successfully
    2019-04-24 10:45:17 <LTITIS01012><SYSTEM><ACT> Check the existence of the configuration database files is completed successfully
    2019-04-24 10:45:17 <LTITIS01012><SYSTEM><ACT> Input channels are read from the configuration database. Active channel count: 37
    2019-04-24 10:45:17 <LTITIS01012><SYSTEM><ACT> Ouput channels are read from the configuration database
    2019-04-24 10:45:17 <LTITIS01012><SYSTEM><ACT> Users are read from the configuration database
    2019-04-24 10:45:17 <LTITIS01012><SYSTEM><ACT> Formulas are read from the configuration database
    2019-04-24 10:45:18 <LTITIS01012><SYSTEM><ERR> Error compiling the source code of the formulas:
    Line 509, column 38: error CS1502: De beste treffer voor de overbelaste methode voor System.Convert.ToDouble(object) heeft enkele ongeldige argumenten (overloaded methode for system.convert.toDouble(object) has invalid arguments)
    Line 509, column 55: error CS1503: Het argument 1: kan niet converteren van methodegroep naar object (can’t convert methodegroup to object)
    See the file C:\SCADA\ScadaServer\Log\CalcEngine.cs with the source code
    2019-04-24 10:45:18 <LTITIS01012><SYSTEM><ERR> Normal program execution is impossible

    my formula:
    double OneTwo()
    {
    return(Val(1) + Val(2));
    }

    I hope you have all the information you need to understand the problem

    Zero

Viewing 1 post (of 1 total)