LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Parsing the bit pattern.

If I have a 32 bits number. How can I parse out a
particular bit pattern? For example, I need to
parse out this 32 bits to two 16 bits patterns, or
any bit pattern.
Thank you.
0 Kudos
Message 1 of 3
(2,629 Views)
Check out the "Number to Boolean Array" function on the Boolean palette. I think this does exactly what you are after, and it's got a partner "Boolean Array to Number" function to go from a bit pattern back to a numeric.

Hope it helps,
John Lum
National Instruments
0 Kudos
Message 2 of 3
(2,629 Views)
Thank you John.
I will give this a try.

Van
0 Kudos
Message 3 of 3
(2,629 Views)