SteveOD

Changing Tag attribute values in PI-SDK

Discussion created by SteveOD on Nov 12, 2011
Latest reply on Nov 14, 2011 by hanyong

Hi,

 

I have a PI-SDK app that can create tags okay using the code

 
      Try
                pt = Svr.PIPoints.Add(tagName, "classic"PointTypeConstants.pttypFloat32, nvs)
            Catch ex As Exception
                ' If point exists then return pointer
                pt = Svr.PIPoints.Item(tagName)
 
            End Try

We have a number of reserved tags that have been created earlier with the aim of backfilling values in the archives.

 

What I need to do is rename these reserved tags and then edit their attributes.

 

I cannot seem to find the method that will allow me to edit these attributes of an existing tag.

 

Any hints very welcome.

 

 

 

Thanks.

Outcomes