4 Replies Latest reply on Feb 14, 2018 3:06 PM by Rick Davin

    update multiple pi points simultaneously using af sdk



      i am trying to find out for a client of mine, if it is possible to update multiple pi points simultaneously?

      as of now we are using a for loop and update each pipoint individually.


                      PIPoint[] points = FindPiPoints(signals);
                      for (int i = 0; i < signals.Length; i++)
                          AFAttribute afattribute = new AFAttribute(points[i]);
                          AFValue v = new AFValue(afattribute, values[i], now, null);
                          v.Status = (AFValueStatus)qualifiers[i];


      this is for optimizing the performance. The idea of the app is to read and update thousands of pipoints on 1 sec intervall.

      Anyother inputs / thoughts are also welcomed.


      Thanks & Regards

      Santhosh Ramesh