scollins

Given an Attribute name, Retrieve only that Attribute's value?

Discussion created by scollins Employee on Jul 11, 2012
Latest reply on Jul 12, 2012 by Ahmad Fattahi

Hi vCampus-

 

The Learning group in OSIsoft is building a PI AF application that needs to return the value of only one or two AF attributes of a given PI AF element.  However, we're needing to pull the values of ALL attributes of an element, then discard the ones we don't need.  Since we're doing this operation for 1000+ elements, it is taking much longer than we imagine it would if only a single attribute was pulled.  Given an attribute's name and a target element, is there a way to ask for a just one attribute's value?

 

I found a relevant post from 2009, http://vcampus.osisoft.com/discussion_hall/development_with_osisoft_sdks/f/28/p/385/1608.aspx, but don't know if it's still relevant.  Thanks! 

Outcomes