AnsweredAssumed Answered

Problem when accessing ConfigString of attributes

Question asked by jhoekx on Feb 13, 2018
Latest reply on Feb 13, 2018 by gregor

We have an AF structure defined in the 'PI system Explorer'. We access this data using the AF-SDK.

One of the elements we are interested in is 'AFElement.Attributes[0].DataReference.ConfigString'.

It should contain the information of a PI Point linked to an attribute.


However, we see that not the correct information is returned in this scenario:

  • Start situation:
    PI System Explorer - Before.png
    PI System Management Tools - Before.png
  • Using 'PI System Management Tools', we rename the PI Point
    PI System Explorer - Rename.png
  • After restarting 'PI System Explorer', this change becomes visible (even on a different machine)
    Screen Shot 2018-02-13 at 15.10.07.png
  • When debugging, we see that the rename is not effected, but we want to see same result as 'PI System Explorer' shows:
    Visual Studio - Rename.png

A workaround is to redo a check-in in 'PI System Explorer'. However, this is not always possible, since we are also working with old data.

Is there a different way to get the correct renamed ConfigString?