I have a fairly simple template i’ve tried to build, but its proving quite complicated to get it to work reliably.
I have a combination of Root Container custom properties, bindings to standard components, bindings on RC properties.
Some bindings are expressions, some are using ‘runScript’, some are SQL queries, some are indirect bindings to PLC tags.
What i would like to understand is whether or not there is a strict evaulation order in Ignition for different bindings depending on the type of binding, or where it is located.
Do root container properties get evaluated first strictly before other components on the template/window?
If a root container property is a runScript or SQL binding, does that have to be evaluated before the other components on template/window can be evaluated?
I have a dropdown list which gets its ‘data’ from an SQL query. This query has references in it to RC properties.
I have tried to bind the dropdown ‘selectedValue’ to a different root container property (PLC tag binding), in the hope that the dropdown would get its data, then display the value that matches the selectedValue.
However i am finding that sometimes it works, and sometimes it doesn’t.
Any advise would be much appreciated.