Identifying "Truly Stale" PI Tags Despite Updating Timestamps

Hi everyone,

I'm trying to identify PI tags on our PI Server that are exhibiting "stale" data, meaning their value has not changed since a specified start time.

The core challenge I'm facing is that the timestamp for many of these tags is still updating approximately every 30 minutes(As per design), even though the actual data value remains constant. This makes it difficult to distinguish truly stale (unchanging value) tags from actively updating tags using simple timestamp-based checks.

 

Has anyone encountered a similar scenario, or does anyone have experience with techniques for identifying genuinely stale data under these conditions? I'm open to suggestions involving PI AF SDK, Powershell, PI-WebAPI.

 

Any insights, code examples, or conceptual guidance would be greatly appreciated!

  • Hey ​ , There are solutions out there that can help automate and visualize the detection of such conditions, even across large numbers of tags. We’re currently using a tool that addresses exactly this use case. It provides a powerful and intuitive way to identify tags with unchanged values over time, regardless of timestamp activity, and supports advanced filtering, alerts, and diagnostics.

    If you're open to it, I'd be happy to give you a short demo or share a few examples via email. Just reach out to me at julian.weber@werusys.de , and I’ll send over some details.

  • Depending on your options, you can use a Performance Equation or Asset Analytics and analyses. I like to use AF and Range.

    Range(<attribute>,'start time', 'end time>' will show the range over time; if the range is zero, the value is stale.

    Also, look at SecSinceChange(<attribute>) to see if the data is not updating at all.