How to write a custom AF data reference for getting PI Tag attributes in dot Net. For example, If i need to get the description of the PI tag, how it can be done..?
If you really need to implement a custom data reference for this, take a look at this white paper published a while ago on this subject.
I would suggest to use PI Analysis for this purpose as most of the required Tag attributes can be easily fetched using Analysis.
For eq : TagDesc('AttributeName') will give you the description of the PI Point mapped to the Attribute.
In general this would be the way to go over writing custom code. However Prasad's other questions indicates he wants to use this in PI Notifications, which can't load the Analysis DR since it is .NET 4 only.
Also Analysis does not refresh point attributes so it would remain static until whatever application using the data reference is restarted.
Retrieving data ...