Disable button according to tag value

Hi,

Is there an easy way to enable/ disable buttons according to a tag value?

In my case if a CIP process is on (So this tag value is 1) I want certain buttons to be disabled until this process is done and the tag value is 0 again.

I know there is an enable checkbox with true or false values but if i link my tag directly to this it only works in one way and i need the logic to be the other way around and can’t figure that out.

Use an expression binding with a boolean not (the exclamation point) and your tag reference. Something like this:

!{[myTagProvider]some/path/to/a/tag}
2 Likes

Thank you so much! I know it’s something little but if you don’t know it you can look for it for quite a while! haha

1 Like

Can we disable a button after acknowledging particular alert in alarm status table and it should enable for alarms which are not acknowledged