How to Implement Custom Data Interaction Between Server and WebStation

Forum Home Forums Development and Integration How to Implement Custom Data Interaction Between Server and WebStation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15292
    showmustgoon
    Participant

    In RapidSCADA, it seems that WebStation and Server communicate through a TCP persistent connection, with the main logic centered around the ProcessCustomRequest method in Scada.Server.Engine.ServerListener.

    This method provides several ways to retrieve data.

    Now, I want to generate and log some custom data in the Server, such as custom alarms. Is there a way to achieve this kind of custom data interaction between the Server and WebStation through the TCP persistent connection without modifying the existing code?

    Or should I consider implementing a different communication interface or method (such as SignalR) to achieve the custom data transmission?

    #15293
    showmustgoon
    Participant

    I want to implement a page in WebStation to display some custom computed data, but I think these calculations should be performed, cached, and persisted in a custom module on the Server.
    I’m currently unsure how to achieve data interaction between the Plg in WebStation and the Module in the Server.

    Or I perhaps move all the computation logic to WebStation instead?

    • This reply was modified 1 week, 3 days ago by showmustgoon.
    #15298
    Mikhail
    Moderator

    You right. For more details check this link if you haven’t found it yet.

    Is your custom data like channel values or events? If custom data similar to channel data, it can be encoded into channel data, and then retrieved using existing application protocol. If custom data similar to events, you can use the Data field of events to extend events.

    Currently, there is no option to process new request types from a Server module. It can be a good idea for the future.

    #15299
    Mikhail
    Moderator

    I’m currently unsure how to achieve data interaction between the Plg in WebStation and the Module in the Server.
    Or I perhaps move all the computation logic to WebStation instead?

    What does the module do?
    The both approaches is possible.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.