Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

PIDataPipe Constructor

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIDataPipe Constructor
Constructs a new PIDataPipe used to sign up for events on a list of PIPoint objects

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

Syntax

public PIDataPipe(
	AFDataPipeType pipeType
)
Public Sub New ( 
	pipeType As AFDataPipeType
)

Dim pipeType As AFDataPipeType

Dim instance As New PIDataPipe(pipeType)
public:
PIDataPipe(
	AFDataPipeType pipeType
)
new : 
        pipeType : AFDataPipeType -> PIDataPipe

Parameters

pipeType
Type: OSIsoft.AF.DataAFDataPipeType
Specifies whether the data pipe will subscribe to snapshot events or archive events.

Remarks

The TimeSeries pipe type is only supported by PI Data Archives at or later than 3.4.395. It is a new pipe that combines the features of snapshot and archive pipes. The event action will indicate the correctly whether the event is Added to the end of the series, Inserted in the middle of the series, Deleted from the Series or Updated(edit of existing event) in the series, unlike the snapshot pipe where all the events have action of Update. The timeseries pipe events also contain information about whether the event is archived (persisted), in the form of the PreviousEventAction property of the data pipe event. The application can signup for just one pipe instead of both snapshot and archive pipes to get full time series information of the points.

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in