Hello,
I am trying to show data through Tag History with expression mode. I want to have path linked to one of params of popup screen.
I did configure as example as in help but I get an error (see picture for more detail).
Has anyone managed to make a connection this way?
Thank you very much and best regards.
I think the problem is that Ignition is expecting an expression but you have supplied a list. That would work in Python but not in the expression language.
The documentation says to create the list as a custom property and then reference that in the expression. From the manual (with emphasis changed by me):
-
Create a custom property named Key on a chart component that is an Array type.
-
Copy and paste the JSON below into this Key property.
-
JSON for Key Array
[Sample JSON removed.]
-
Open the property binding on your chart and select the Tag History binding type.
-
Select the Expression radio button to create your own tag structure.
-
Click on the property selector button on the right and find your new custom property.
-
Click OK in the lower right.
https://docs.inductiveautomation.com/display/DOC81/Tag+History+Bindings+in+Perspective#TagHistoryBindingsinPerspective-UsingDynamicTagPaths
1 Like
Thank you for all information. I read the instructions too quickly at first