AnsweredAssumed Answered

PIDataPipe: how to gracefully close?

Question asked by Roger Palmen on Aug 10, 2016
Latest reply on Aug 10, 2016 by Roger Palmen

Hi all,

In PIDataPipe GetObserverEvents: how often to call? i work on processing a large datapipe with lots of PI Points. Now it seems (i have limited data on the PI Data Archive) that after i close the datapipe, the data is still added to the queue, leading to overflows.I always get a spike in lost events after i close my pipe. It appears the 10-minute wait after closing the datapipe is to blame, as is mentioned here:Handling Errors returned by GetObserverEvents() method of a AFDataPipe


I close the pipe as follows:



Any ideas how to prevent this behaviour? Remove all signups before i close the pipe?