I am working on an application that will map data to a PI point using the instrument tag of the PI point, but I am not quite sure how to obtain the instrument tag using the PI SDK. I am programming in .NET.
My code includes the following:
PointList pl = interaction.GetPIPoints(): // interaction refers to another class
foreach (PISDK.PIPoint p in pl)
string instag = __?_____
I am able to get to the attribute level by using: p.PointAttributes.GetAttributes()...but I have yet to discover how to obtain the instrumenttag and assign it to my string "instag"