1 of 1 people found this helpful
The AFAttribute.DataReference property is meant to be fixed, as in not dynamic, otherwise you lose so many efficiencies. Certainly PSE doesn't have such customized functionality built-in. Is this other attribute setting something that will change occasionally, or will it change daily or hourly? If were to change occasionally, you could create a "builder" app to make the changes to the database, in which case when a PIPoint is resolved its data source is updated with the attribute. If you thought it would change far more frequently than that, i.e. be truly dynamic, then constantly clearing or setting the data reference and likewise constantly rebinding to PIPoints is not a good solution.
The Attribute will change occasionally. It’s a configuration thing. In some application the Attribute may be a PI Point in others not.
I guess you’re suggesting I create the element template programmatically based upon configuration info in say Excel. I’ve done something like this already and could adapt if you think it’s the best/easiest solution.
Chris Hawkins | Senior Consultant | Process Systems & Solutions
Emerson Automation Solutions | 2 Eggleston Court, Startforth Road , Riverside Park | TS2 1RU | Middlesbrough | United Kingdom
T +4401642773061 | M +4407764929518
Knowledge is Power. Use the Emerson experience<http://bit.ly/1TNiptg> to ignite your performance.
Hello Chris - Yes, I think an builder app is the best solution.