4 Replies Latest reply on Feb 15, 2019 2:49 PM by vkaufmann

    Get PI Point Values not repeated

    Dava

      Hi Guys,

      I need to get a X number of record values in a PI Point (This Pi Point is in an attribute for a template) using AFSDK

      But with the only particularity , than two consecutive number cannot be the same (Or repeated).
      For example :

      In this list:
      [0,1,1,2,2,3,2,2,4,5,6,7,8,8,9]:
      I need to get this result:

      [0,1,2,3,2,4,5,6,7,8,9]

       

      I was planning to use the function RecordedValuesByCount and maybe play with the filter string value.
      but I have not had success

       

      Any thoughts or comment will be appreciated

       

      Best Regards