AlistairFrith

GetTraceValue() on an AF Element-relative display

Discussion created by AlistairFrith on May 3, 2011
Latest reply on May 9, 2011 by AlistairFrith

I have a bit of a problem with the VBA behind an element relative display.

 

It seems that when trending an AF attribute (with a PI tag data reference), hovering over the trace only give the data reference details. If the trace is a direct PI Tag instead of an AF attribute, we also get stats like min, max (with times) and average. the customer would like this info in a table below the trend.

 

I have a table which I populate whenever a trace is added/removed  and it uses GetTraceValue() to find the smallest and largest value for each trace, but the timestamp comes back with 00:00:00. Actually, it does not get written to at all. Likewise with the status.

 

Any ideas?

 

---- Alistair.

 

 

Outcomes