AnsweredAssumed Answered

How to delete multiple filtered data from a tag using PISDK

Question asked by Guilherme Ferreira Champion on Apr 8, 2015
Latest reply on Apr 9, 2015 by Guilherme Ferreira

Hello all!

 

Is there a function in PI SDK to delete multiple PI values?

 

I would like, for instance, to remove all "Bad" values from one particular tag.

What I am doing now is retrieving these "Bad" values within my period of time and then iterating one by one to remove them using PIPoint.Data.RemoveValues (something like that delete duplicate values from PI data archives).

 

For a large number of values and tags, this method can be quite expensive. Isn't there a way of removing multiple values (PIValues) at once?

 

Thanks and regards,

Outcomes