Mikhail

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 6,120 total)
  • Author
    Posts
  • in reply to: Blinking in faceplate not working #17534
    Mikhail
    Moderator

    Thanks for the information. I’ll be able to start testing and fixing it a little later.

    in reply to: Only Archive on “Status change” #17533
    Mikhail
    Moderator

    Is there a way to make RapidScada store the Channel Name in the SQL database?

    Yes. Create a new deployment profile, and set Extension to ExtDepPostgreSql. Set the parameters on the DB Connection tab.
    When you deploy a project with that profile, it will be written to PostgreSQL.

    Mikhail
    Moderator

    Hi,

    If historical data is sent to the Server service having some timestamp, all calculated channel are recalculated at that timestamp.
    To test it, use the ScadaTestClient utility.

    • This reply was modified 2 days, 23 hours ago by Mikhail.
    in reply to: Blinking in faceplate not working #17523
    Mikhail
    Moderator

    I will check it and write here about the result. It will take some time.
    Thank you.

    in reply to: Only Archive on “Status change” #17522
    Mikhail
    Moderator

    How often does rapidscada check for changes? Is it every second?

    Approximately 10 times a second.

    How do you find & replace when the cell is blank?

    I think, this is not possible.

    in reply to: OPC XML DA support #17521
    Mikhail
    Moderator

    Hi,
    XML-DA is not supported.

    in reply to: Blinking in faceplate not working #17517
    Mikhail
    Moderator

    Hello,
    Could you describe steps to reproduce the issue?

    in reply to: Input Chanel Size and string format #17515
    Mikhail
    Moderator

    The above formula useful for constant strings.
    If you need to set a string channel manually, use the output formula SetUnicode(). Input formula is empty.

    public byte[] SetUnicode()
    {
      if (ArrIdx == 0)
      {
        string s = CmdData == null ? "null" : Encoding.UTF8.GetString(CmdData);
        int dataSize = Channel.DataLen ?? 1;
    
        for (int i = 0; i < dataSize; i++)
        {
          string part = Substring(s, i * 4, 4);
          SetData(CnlNum + i, EncodeUnicode(part), 1);
        }
      }
    
      return CmdData;
    }
    

    SetAscii() can be developed in a similar way.

    in reply to: Obtain channel data #17514
    Mikhail
    Moderator

    Hello,
    In a channel formula, use the Channel property. It provides access to the channel properties of the current channel.
    There is no function to get properties of a channel by its number from scripts. This is available in the source code of a module.

    in reply to: Input Chanel Size and string format #17509
    Mikhail
    Moderator

    Set the Data Length property of a channel.
    Channel of length 1 can contain up to 4 Unicode characters.
    If channel length > 1, virtual channels are created in memory. So the number (ID) of the next channel must be the number of the current channel + data length.

    in reply to: Universal / pre-made / generic popup like motor #17506
    Mikhail
    Moderator

    All the above ideas can work.
    A popup can be opened by an action script, or by changing a link URL.

    in reply to: rapidgate #17505
    Mikhail
    Moderator

    Hi,
    Sure
    Link
    It is also can be found from here https://rapidscada.org/product/documentation/ then Additional documentation.

    in reply to: Required to write a formula for a command #17504
    Mikhail
    Moderator

    Hi,
    Thank you for the update.

    in reply to: Universal / pre-made / generic popup like motor #17499
    Mikhail
    Moderator

    A popup is a separate view that has its own view ID. There is an old good mechanism named scheme templates that is also supported by mimics. It allows to use only one MotorPopup.mim file for similar popups.
    Example of the view arguments in the Views table: cnlOffset=200&titleCompID=4

    I suppose, you should add an export property to the faceplate to be able to set the view ID. By clicking the button the action script is executed to open a popup having the specified view ID.

    in reply to: String read and write operations #17498
    Mikhail
    Moderator

    🙂

Viewing 15 posts - 1 through 15 (of 6,120 total)