Joe Devine

Reading PI Annotations and then Writing PI Annotations For Digital and Integer Tags

Discussion created by Joe Devine on May 17, 2013
Latest reply on May 20, 2013 by hanyong

I have been trying to get a bit of code working for a while and it works half way right now.  What I need to do is first check a tag value to see if it has an annotation and then if it does not I perform another test and if it passes the test I want to annotate the value to indicate it was used.  Right now I can read if the annotation exists but I think I need to get the correct traps in place to write an annotation.  Does anyone have some code snippets for this kind of operation?  I also think there is an issue when updating a digital tag with an annotation once I have packaged the annotation and want to write it to the tag value.


Any help is appreciated.