JJH

Visibility Expressions - FactoryTalk View SE

3 posts in this topic

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?

Share this post


Link to post
Share on other sites
Have to use parentheses () ({[Program]VAR1} = 0) OR ({[Program]BIT} = 1)

Share this post


Link to post
Share on other sites
Also, instead of using  {[Program]VAR1} = 0, just use a NOT instead.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now