AnsweredAssumed Answered

Fastest way of insering values in the data archive using AF SDK

Question asked by steinroar on Jan 18, 2016
Latest reply on Jan 20, 2016 by pthivierge

Hello,

 

I am making a test tool for inserting a lot of values to the data archve. Currently I am using the AF SDK and PIPoint.UpdateValue as in:

 

OSIsoft.AF.Asset.AFValue value = new OSIsoft.AF.Asset.AFValue(sinValue);

foreach (PIPoint point in points1hz)

{

     point.UpdateValue(value, OSIsoft.AF.Data.AFUpdateOption.Insert);

}

 

This method is called once a second, but is not able to update 1000 PI Points.

 

Any ideas on a better way to do this?

 

Thanks,

Stein-Roar

Outcomes