wpurrer

Unable to delete Digital State/Error Value

Discussion created by wpurrer on Apr 22, 2014
Latest reply on Apr 23, 2014 by asorokina

Hello,

 

I'm currently trying to delete digital states or error values from a PiPoint. I use the following Method:

 

 

 
AFAttribute.DataReference.PIPoint.UpdateValue(afvalue, OSIsoft.AF.Data.AFUpdateOption.Remove);

 

 

Deleting numeric Values works totally fine, but when it comes to deleting a digital state or error value like "Comm Fail" or "Not Connected", the function does nothing at all. The given AFValue Parameter is correct.

 

Does anybody have some further information about this? Is it just not possible to delete error values using the AFSDK?

Outcomes