Can I force an Event Frame to interpolate for the EndTrigger condition to get an accurate EndTime ?

I am trying to use an event frame to record the duration that an analog PIPoint is below a certain threshold value. I just assign the PIPoint to a variable using TagVal() - and it seems to correctly interpolate for the start trigger ( X < Y) for the start time of the event frame. But it does not put the end time of the event frame at the time the interpolated variable exceeds the end trigger - it ends the event frame at the time of the first stored value which exceeds the end trigger.... so it reports an incorrect duration below the threshold.

This is particularly problematical when backfilling.

I have done this before on systems where there is a source digital tag indication of above / below a threshold - that is fine because the time of changes in the stored digital value is the actual start or end time. It is not possible to do that here as we are interested in durations above or below varying (user selected) threshold values.

AF server version is 2.10.9.593

Thanks

  • Hi Sherry, I don't have a solution unfortunately Disappointed

     

    BUT

    I would think that TagVal would NOT interpolate the datapoints in PI. I think this would function the same way as on the end trigger you are talking about. It will be true when the value is actually above or below that threshold. So the start trigger should function the same as the end. But if you say it does then I have to take your word for it.

    There could be mitigating circumstances depending on your analysis scheduling, whether periodic or event based or any of the advanced options there.