03-04-2014 11:46 AM
How do I implment the "in range and coerce" function with binary operation? I want to do that to make my fpga code more efficient.
03-04-2014 11:53 AM
Please explain what you mean by "binary operation", that could mean many different things.
03-04-2014 12:15 PM
What exactly do you mean by "binary operation"? I am assuming you are dealing with integers here to make life simple.
The In Range portion is just a simple Less Than and a More Than with an AND ( x < UL && x > LL). The Coerce portion would likely be best done with Select nodes based on the Less Than and the More Than comparisons.
03-04-2014 02:34 PM
Bit and logic operations. For example, if I want to change a subvi that is checking is the input greater or equal to 8, I would convert the input into a binary array, and do a logical AND to all bits higher than the 4th bit. I am wondering is there a similar method for in range and coerce. I think I can make the method that I mention above works for this case as well, but want to know is there a better way.