AnsweredAssumed Answered

Get the Table Name form an Attribute as table lookup

Question asked by Dava on Mar 13, 2019
Latest reply on Mar 13, 2019 by Dava

Hi guys,

I'm using the PI AFSDK, and I'm reading and AFAttribute as a table lookup

And I want to get the table name configurated in it.

Searching from properties in the debug view in Visaul Studio I found this one:

But I was not able to get from the code, When I add this property to the watch I notice the name and other details:


I notice this property is because the dataReference is a Table lookup.


I try to get it from code And I was not able to do it, I try someting like this


AFAttribute AFAttr = AFElemt.Attributes[AttrName];


But I was not able to get the table name

Can any give me a hand


best regards