02-17-2013 05:50 PM
Hi ,
I am trying to do "bitwise and" in labview . I thought (BOOLEAN AND) in the boolean could do it ,but it just seems to multiply whatever inputs I am giving.
I am trying to do (1010 (bitwise and) 1000 ) with the "boolean and"and this gives me 1111100 instead of 1000 , am I interprating the function incorrectly or is it really doing it and what is its exact function?
Please tell me how can I do bitwise and between my inputs.
Thanks
02-17-2013 05:59 PM
It works perfectly for me. You need to show your code.
02-17-2013 06:23 PM - edited 02-17-2013 06:50 PM
I assume you controls and indicators are set to binary display and all are of the same integer datatype. Are they?
Please show us your code....
02-17-2013 07:10 PM
I had not changed the format for one of the inputs, it was not binary , I double checked it when you mentione . It works perfect now .
Thanks .