Hi community. I am trying to use a calculation tag to determine the bit status of an analog value. I cannot seem to get the syntax correct to put in the expression. I found the code snippet below but I think that may be for scripting not expressions...not sure Is there any documentation on functions and syntax for these expressions? trying [value] && 4 does not work to find the status of the 3rd bit. I cant seem to find any using F1 help. Thank you
Hi community.  I am trying to use a calculation tag to determine the bit status of an analog value.  I cannot seem to get the syntax correct to put in the expression.  I found the code snippet below but I think that may be for scripting not expressions...not sure  Is there any documentation on functions and syntax for these expressions?  trying [value] && 4 does not work to find the status of the 3rd bit.    I cant seem to find any using F1 help.  Thank you
  
        
        
    
        
    