gemstone wrote:
> Thank u,Mads.
> I wonder if the efficiency is high for frequently bits operation?
Have a look at the bit twiddling challenge results and you'll
get an idea of serious bit twiddling - I guess LV was working
at about the same sort of speed as you could manage in tightly
coded C.
However, thats a lot more complex than most of the bit twiddles
you need to do for protocol stuff. Mostly it is things like
"Is bit 3 of this word set?" and "Set bit 2 of this word".
These are most easily accomplished by doing boolean logic
on unsigned words, the same way as yould do in almost any other
language, and just as quick in labview.
If you're interested in getting things to work as rapidly as possible,
avoid the "number to boolean array
" functions.
HTH
--
Remove "spamkill." when replying to this message