YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

How to fectch an attribute value for a given attribute name. Options · View
sandeep.narang24
#1 Posted : Thursday, July 30, 2009 10:49:56 AM
Rank: Member
Groups: Member

Joined: 7/30/2009
Posts: 12
Location: Chandigarh

Hi,

I am new to PI, I have to fetch the attribute value for a given attribute Name. For that i have to search all the elements and then made a check for particular attribute. I made an function which is using AFElement.FindElements() or AFAttribute.FindElementAttributes() but in that i have to pass AFElementTemplate or AFAttributeTemplate. But i don't want to pass that. I am using AFSDK in .net.


Is there any way to get the Attribute value or there is any way so that i can make my function as generic??


Thanks,
Sandeep
Sponsor  
 

OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System.
We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ  or contact OSIsoft vCampus for more details.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.