As I am evaluating Ignition I really like the power of the software but I seem to hit snags that seem pretty basic to me. My latest snag has to do with using multiple tags to manipulate properties of an object.
I’ve created a pop-up window for a device. I am passing a device identifier as a parameter to the popup window so the correct tags are referenced based on the device that I click. All well and good.
To make things complicated I have a couple of control buttons on this pop-up and depending on the state of the device these control buttons may need to be enabled or disabled. They can be enabled/disabled based on one or more tag values, I need an indirect expression that will allow me to use multiple logic operators against multiple tags. It does not seem to be possible.
So, if the enable is based on a single tag, I can bind the enable to an indirect tag:
{1}Bit4
However, if I have multiple tags that can enable that control button, I need the enable expression to be something like:
{1}Bit4 || {1}Bit5 (bit 4 OR bit 5) -> enable control button
I tried to create an expression, but I just get a nested error as I tried create the expression:
{{ID}Bit4}||{{ID}Bit5} so this syntax seems to be invalid.
Is this possible? Is there a better method?