AFDataPipe outputting duplicate events

Hi 

 

I'm using the AFDataPipe using the IObservable pattern.  I'm signing up AF attributes with PIPoint data reference. It works fine BUT I'm picking up duplicates events with same timestamp and values. I found this by outputting  the time the AFDataPipeEvent gets an event in the OnNext and then output the values.

 

I looked at Update manager in SMT and I can see that the consumer which is my program is using TimeSeries.

 

From documentation https://docs.aveva.com/bundle/af-sdk/page/html/T_OSIsoft_AF_Data_AFDataPipeType.htm, it says 

"The AFDataPipe and AFDataCache will retrieve data for AFAttributes backed by a PIPoint using a TimeSeries where it is supported and Snapshot otherwise."

 

It seems that it's getting snapshot and archive and it's doubling up. I know AFDataPipeType enumeration is supported only in PIDataPipe. Is there a way to force AFDataPipe to use Snapshot only for example?

 

Has anyone noticed duplicates with AFDataPipe?

 

Cheers

Peter