Probably the most straight forward way to do this is to use PI Web API. Or if you use multistate option on the symbol, you can get traits through the data object (however, this extra information is only supplied when the multistate configuration pane is open):
The native value symbol seems to get some extra information from the data layer (data.TargetData). I couldn't figure out yet how to configure symbol to switch this on and tell data layer to give us this extra information though.
Also, when you open a config pane of the value symbol, PI Vision makes a POST request to get Target, Minimum and Maximum parameters, no intermediate limits (Lo, LoLo, Hi, HiHi). So even if we figure out how to get traits using the same functionality the value symbol uses, it won't provide you all the information you might expect.
Thanks for the feedback. What i am looking for is building custom symbol for a bullet chart or control chart using the attribute traits available. Unfortunately (or not as that is not very complex) the PI Web API seems to be the way to go for now.
Roger Palmen wrote:
PS: This thread is excellent on the output of the various configurations, that should be in the extensibility documentation! Re: Question - Coresight Symbol Extension with Multiple data source using AF heading as input. If we extend that with the trait details
Thanks! I realize that this needs to be extended to include AF Attributes examples (they have a slightly different path pattern and some extra metadata). Todo list is growing