JJH
Member
I have a button on my HMI that I only want visible under two conditions. One of them is a numerical value and the other is if a bit is on.
English translation
If Variable 1 = 0 OR BooleanBit is TRUE, then show the button
I tried entering the expression in the button's Visibility parameter in Animation as such:
{[Program]Variable} = 0 OR {[Program]}
However, it does not work on both conditions. It will work if I just use one of them but not as shown above, even if the order is reversed.
There must be a trick of how to write an expression that uses multiple values...... any suggestions?
English translation
If Variable 1 = 0 OR BooleanBit is TRUE, then show the button
I tried entering the expression in the button's Visibility parameter in Animation as such:
{[Program]Variable} = 0 OR {[Program]}
However, it does not work on both conditions. It will work if I just use one of them but not as shown above, even if the order is reversed.
There must be a trick of how to write an expression that uses multiple values...... any suggestions?