I have a Multistate Button that I would like to have locked to a certain control value when a client tag reads as a certain value. I thought I'd accomplish this by binding the control value to an expression that says if the tag is equal to the value I'm looking for, the control value will be 2 (what I want to lock it down to), but I'm not sure what to put for the falseReturn value to tell it to just leave the value as it is.
Is it possible to not have a false return, or have a in an Ignition expression if statement?
Instead, consider disabling the control component under that condition. Perhaps use a property change event script on that to write the locked value when the component is disabled.
This is a great workaround, thank you!