Mikhail

Forum Replies Created

Viewing 15 posts - 346 through 360 (of 6,218 total)
  • Author
    Posts
  • in reply to: scheme views showing blank #16846
    Mikhail
    Moderator

    Hi,
    Open the folder SCADA\ScadaWeb\wwwroot\plugins\Scheme\js in the file explorer and check if those files exist.
    If they don’t exist, copy the files from the installation package.

    • This reply was modified 7 months, 3 weeks ago by Mikhail.
    in reply to: scheme views showing blank #16839
    Mikhail
    Moderator

    Could you provide a screenshot of the error? I need a path of the missed file.

    > and scheme’s display on another computer
    Do you mean that it works when a client opens a scheme remotely hosted on the same server? Or another installation?

    in reply to: DB Import string #16838
    Mikhail
    Moderator

    Hi,
    Currently long strings are not supported by the DrvDbImport drvier. I hope, we will implement it in the future.
    If the strings have fixed values, they can be presented as numbers, and enumerations can be used.
    Alternatively, use the community driver noticed above.

    in reply to: Execute weblink in channel table #16837
    Mikhail
    Moderator

    Hi,
    Scripts are executed on server side, so they have no connection with a web browser.
    How is the information expected to be presented to the end user?

    in reply to: Logs #16836
    Mikhail
    Moderator

    Hi,

    If I set this to “Channel Status Has Changed”, some event would possible get logged when the Status changes to 1 which I can later review.

    Try “Channel Data Has Changed” or “Channel Status Has Changed”. Play with it.

    in reply to: scheme views showing blank #16824
    Mikhail
    Moderator

    Hello,
    What Rapid SCADA version do you use?
    Press F12 to open browser tools. In the Console tab there are additional info about scheme loading.

    in reply to: Logs #16823
    Mikhail
    Moderator

    Hi,
    May be you could setup generating events for those channels to control when they change.

    in reply to: Logging fast I/O #16822
    Mikhail
    Moderator

    Seems, that a good approach would be to change a communication protocol. It would be more efficient to receive bunch of data that contains many data points.

    in reply to: Chart component fixed mode period #16816
    Mikhail
    Moderator

    Hi,
    In Chart and Chart Pro plugins, the X axis is always time, Y axis is value.

    in reply to: Logs #16815
    Mikhail
    Moderator

    Hi,
    The module writes to its own log file.
    Open Administrator – Instances – Default – Server – Logs, then set the log filter to modules.

    Mikhail
    Moderator

    Other explanation is that I’ve written too many code in JavaScript recently, so I messed up C# and JavaScript 🙂

    Mikhail
    Moderator

    Hi,
    In Rapid SCADA 6 the script functions must be public. Otherwise the calculation engine cannot see them.

    Mikhail
    Moderator

    Hi,
    So the result would be something like

    public double TimeToGetHigh()
    {
      int hour = Timestamp.Hour; // the Timestamp is a built-in property
      return (Timestamp.Minute >= 0 && Timestamp.Minute < 6) && (hour == 8 || hour == 12 || hour == 18 || hour == 22)
        ? 1
        : 0;
    }
    
    • This reply was modified 8 months ago by Mikhail.
    Mikhail
    Moderator

    Hi,
    Try the function below (not tested):

    function double TimeToGetHigh()
    {
      int hour = Timestamp.Hour; // the Timestamp is a built-in property
      return Timestamp.Minute == 0 && (hour == 8 || hour == 12 || hour == 18 || hour == 22)
        ? 1
        : 0;
    }
    

    Note that UTC hour is used.
    The channel input formula: TimeToGetHigh()
    Channel type is calculated.

    • This reply was modified 8 months ago by Mikhail.
    Mikhail
    Moderator

    Hi,
    Yes, it’s possible. Please describe the entire task, so I could suggest the better way. What do you plan to do with 0 and 1?

Viewing 15 posts - 346 through 360 (of 6,218 total)