AnsweredAssumed Answered

PIServer.FindChangedPIPoints PIServer Refresh

Question asked by Cass on Nov 13, 2019
Latest reply on Nov 26, 2019 by Cass

I change a value in PI System Explorer, but PIServer.FindChangedPIPoints always returns null. Do I need to refresh the server object?  The PIServer object looks good. But never changes.

 

   PIPointChangesCookie cookie = _piPointChangeCookieDict[kvp.Key];
   IList<PIPointChangeInfo> changes = piServer.FindChangedPIPoints(int.MaxValue, cookie, out cookie);
   _piPointChangeCookieDict[kvp.Key] = cookie;

   if (!ReferenceEquals(changes, null))
   {

      ...
   }
}

Outcomes