Proficy Historian Client Access API
Proficy.Historian.ClientAccess.API Namespace / IData Interface / Subscribe Method
Tag subscription information.
Example


Subscribe Method (IData)
Subscribe to data updates for a specific tag. Fires %% with details of the data update.
Syntax
Sub Subscribe( _
   ByVal tag As DataSubscriptionInfo _
) 

Parameters

tag
Tag subscription information.
Example
// establish event handler
connection.DataChangedEvent += new DataChangedHandler(DataChanged);
              
// request data subscriptions
connection.IData.Subscribe(new DataSubscriptionInfo { Tagname = "Tag00001", MinimumElapsedMilliSeconds = 5000 });
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also