7 Replies Latest reply on Jan 20, 2016 1:05 PM by pthivierge

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




      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?