Ad Widget

Collapse

How can I intercept the history update calls on data pooling?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rbenea
    Member
    • Apr 2008
    • 35

    #1

    How can I intercept the history update calls on data pooling?

    Is it possible to create a function or mechanism that would be called every time the item values are updated? Or even better what values have changed from last time?

    Right now the latest data info is updated via repeated pooling from the server. I want to create a mechanism that would send only the changed data via a permanent open connection.

    What is your approach on this?

    Regards,
    R
  • rbenea
    Member
    • Apr 2008
    • 35

    #2
    Got it!

    Let me get back to me now that I discover how it can be done

    Of course that in the items table there are the columns: lastclock, lastvalue and prevvalue already, columns that I missed the first time.

    I hope that this info helps others too.

    Regards,
    Rares

    Comment

    Working...