-
Re: PI Event Frame template & PI Analysis
Rick DavinOct 11, 2017 9:05 PM (in response to jainc_paresh)
1 of 1 people found this helpfulHi Paresh,
On the "Data Disturbance" event frame template, the attribute template "DISTURBANCE SOURCE" is attempting to fetch data from an attribute of the same name on the primary referenced element. However, that attribute on the primary referenced element is NOT a PIPoint. Therefore, on the event frame "DISTURBANCE SOURCE" should not use the PI Point Data Reference. Use the StringBuilder DR instead. However, the TimeRangeMethod is not an option to StringBuilder. You will need to wrap the expression in single quotes:
StringBuilder ConfigString
'.\Elements[.]|DISTURBANCE SOURCE'
The limitation of not using a PIPoint is that the event frame's "DISTURBANCE SOURCE" will only have the value at the EndTime of the event frame. If you need to use the StartTime, then the primary referenced element will need to persist the analysis results back to a PIPoint.