Hello everyone, i’m working on a project where i have to show the value from a tag with history in a power chart. The tag path is dynamic, and this value is set passing a parameter to this page with an On Click action, changing the “object or machine” where the value from tag is pulled. I have already tried in the way Inductive University does it and it doesn’t worked, so maybe you have another idea.
My question,
How can I change the path where the data is pulled with the parameter, so it takes it from different objects or machines?
Is there any form where i can set values to the power chart so it always shows the tag data in the chart without having to select it in the tag browser?
Add one of the history tags you are interested in monitoring.
Stop the preview and examine the historian tag path. See if that matches the one in your label.
I suspect you may be passing in the live tag instead of the historian. For example, I have a simulation tag on my test gateway with actual tag path, [default]Machine1/Compressor1 motor amps
Its historian tag is histprov:Historian:/drv:ignition-desktop-l2q5jpp:default:/tag:compressor1 motor amps
For further study, this is a good reference: Javadocs & Notable API Changes
Pick an Ignition version then use the search feature to look up the details of the imported classes.