No data can be found for tag history binding, but script can

Ignition 8.1.31. The tag paths are the same, and I really can't see what the problem is.

Your Tag History binding filters for the last 8 hours. Is it possible that the four rows your expression returns are from earlier than the last 8 hours?

No, the data has just been generated. And, the default params of queryTagHistory function is the last 8 hours.

It is possible, though hopefully not the case, that the tag history binding configuration is struggling with the characters in your tag path.

If you export the project (or view it on the gateway's filesystem), in the view.json file you should be able to find the tag history binding configuration, and see whether the non-ASCII characters are showing up correctly.

Maybe try re-adding the tag through the tag browser but instead of the real time folder try the historical folder?

Also two things I don't think it is but maybe worth trying:

  • Instead of AsStored try Point count and set it to -1?
  • Disable cache & share as a test if you generated the data after maybe

In the view.json, the characters of tag path are displayed correctly.

The historical provider works, thank you Nol.

1 Like