Is it possible to perform an analysis that converts a long integer(32 bits) value to binary in PI and then select a bit down from the binary string and display it as a digital set(Boolean)?
Ex. Value_Tag = 34
34 in Binary = 10010
and I want to look at bit 2 (second bit from the right) as a status bit of “open” or ”closed”
1 = open and 0 = closed
so with the Long integer value of 34 that bit will display ”open” but if we change the long integer value to 33 for example it would display “closed“