gasin

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Log in web page #5722
    Avatargasin
    Participant

    now, i’ve problem with autologin,too.

    before i add autologin to scadaweb folder, everything work fine.

    after i add autologin to scadaweb folder and try to access website via address http://localhost/scada/login.aspx , i can pass login padge but it show error like this

    https://1drv.ms/u/s!Ah3lJWvSyxVOgvcCAlGYfk_y6Xc4IA

    and when i try to access website to be autologin like this http://localhost/scada/autologin.aspx , it show error like this

    https://1drv.ms/u/s!Ah3lJWvSyxVOgvcBOsJJntEUNlbZHw

    so, how can i solve this. please suggest.

    in reply to: Log in web page #5695
    Avatargasin
    Participant

    Hi,

    i try to do as your mention. after that i found error occur on screen. it show message error to update scheme data and i see all graphic did not show value.

    it’s look like graphic can not connect to database.

    how can i solve it?

    in reply to: All value reset to 0 when device lost communication #5652
    Avatargasin
    Participant

    Hi,

    i try to use this formula : Cnl > 0 ? Cnl : Val()

    but the result is when i write to 0, input still show 1. and device connect normally.

    in reply to: Problem with create function with more than 3 inputs. #5450
    Avatargasin
    Participant

    here is error from server.

    2019-05-14 20:02:34 <DESKTOP-1CTUDRI><SYSTEM><ERR> Error compiling the source code of the formulas
    Line 742, column 58; error cs1501: No overload for method ‘if2’ takes 2 arguments
    See the file c:\SCADA\ScadaServer\Log\CalcEngine.cs with the source code
    2019-05-14 20:02:34 <DESKTOP-1CTUDRI><SYSTEM><ERR> Normal program execution is impossible

    i’m create function “if2” with 3 inputs and got this error.

    and here is my function.

    public if2(double in1,double in2,double in3)
    {
    if(in1==0 && in2==1)
    {in3=1;}
    if(in2==0)
    {in3=0}
    return in3;
    }

    in1 & in2 are input parameter from register via modbus and in3 is extra input that i create to database to get result from this function.

    how can i solve it, please suggest.

Viewing 4 posts - 1 through 4 (of 4 total)