Retrieve History Provider Via Script

Is there a way to retrieve the history provider information from a tag path via script?

I'm using the power chart component in Ignition and would like to bind the data source property to a tag path, however, the path needs to be converted to a historical format in order to retrieve the data. The help documentation states that it will automatically convert the tag path property, however, this functionality seems to work for only tags that are within the default tag provider.

I need the following prefix:

image

image

You can read the tag's history properties to gather the information needed to produce that format.

1 Like

I was wrong, it actually does convert the tag path to the correct historical format regardless of what your tag provider name is. I had a mistake on my end which caused the functionality not to work.

Thanks

1 Like