ineoscgn

Writing tag value to all collective members

Discussion created by ineoscgn on Apr 4, 2014
Latest reply on Apr 12, 2014 by ekuwana

Hi,

 

there is a small application I developed by using AF SDK 2.5.2 and Visual C# 2012. The connection to the collective is realized as proposed in the SDK help:

 
 PIServer myPIServer = new PIServers().DefaultPIServer
 myPIServer.Connect();

I am able to create a new tag and set the value:

 
myTag.UpdateValue(val, OSIsoft.AF.Data.AFUpdateOption.Insert);

Unfortunately, the value is only written to the archive of the primary collective member. Enabling SDK Buffering does not succeed (is it used by AFSDK at all?).

 

Is there a simple and generic way to write the same AFValue to all members simultaneously?

 

Thanks.

Outcomes