AFDataPipe.AddSignupsWithInitEvents Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Adds a list of AFAttribute objects to be monitored by the data pipe and returns the
initial events for this list of new signup objects.
PIserver level and attribute level errors can be accessed in the AFListResultsTKey, TResult
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFListResults<AFAttribute, AFDataPipeEvent> AddSignupsWithInitEvents( IList<AFAttribute> attributes )
Public Function AddSignupsWithInitEvents ( attributes As IList(Of AFAttribute) ) As AFListResults(Of AFAttribute, AFDataPipeEvent) Dim instance As AFDataPipe Dim attributes As IList(Of AFAttribute) Dim returnValue As AFListResults(Of AFAttribute, AFDataPipeEvent) returnValue = instance.AddSignupsWithInitEvents(attributes)
public: AFListResults<AFAttribute^, AFDataPipeEvent^>^ AddSignupsWithInitEvents( IList<AFAttribute^>^ attributes )
member AddSignupsWithInitEvents : attributes : IList<AFAttribute> -> AFListResults<AFAttribute, AFDataPipeEvent>
Parameters
- attributes
- Type: System.Collections.GenericIListAFAttribute
List of AFAttribute objects to be added to the pipe.
Return Value
Type: AFListResultsAFAttribute, AFDataPipeEventA list of initial AFDataPipeEvent for the new signup list of AFAttributes. Any errors during the call are added to the error collection of the AFListResultsTKey, TResult
Remarks
This method is the same as AddSignups(IListAFAttribute) except that the initial events for the signup list are
returned by the method. The initial events are useful for applications like data cache or calculations using
multiple inputs. If the observer pattern is being used, the initial events are returned by the observer and not this method.