AnsweredAssumed Answered

Receiving archive data change events via AFDataPipe

Question asked by rzandvliet on Dec 15, 2014
Latest reply on Dec 16, 2014 by rzandvliet

I want to receive archive data change events via the AFDataPipe. When I look at the AFSDK reference the AFDataPipeType Reference is applicable for PIDataPipe and AfDataPipe (see below). But when creating an instance of the AFDataPipe class, I'm not able to set the AFDataPipeType. Is this a mistake in the documentation or is AFDataPipe always sending Snapshots and Archive change events.


Specifies the type of data change events generated by the PIDataPipe and AFDataPipe classes.

Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: (


Member nameValueDescription
Snapshot0The datapipe will generate snapshot or current value data change events.
Archive1The datapipe will generate archive data change events.
TimeSeries2The datapipe will generate change events for a PI time series



The PIDataPipe and AFDataPipe classes use this enumeration to define the type of data change events that are generated.

Version Information


Supported in: 2.6, 2.5