|
Prev: Re : How to change a specific bit to 0 or 1?
Next: Re : Re: Re : Re: peut on attaquer directement une DLL sous labview?
From: JB on 6 May 2008 05:40 A few minutes to make an example and I must note that others have already posted a lot of answers and comments. You are really too fast !
From: Norbert B on 6 May 2008 05:40 Here the reworked example as vi, maybe someone could use it...... Norbert Masking Bits.vi: http://forums.ni.com/attachments/ni/170/321303/1/Masking Bits.vi
From: altenbach on 6 May 2008 10:10
In general, I would really recommend to stick with a solution that does not use any thick green wires (Dave's solution above is better! :)). Bit manipulations should be done with blue wires. Going the detour via boolean arrays is easily an order of magnitude slower and requires an order of magnitude more memory. <a href="http://zone.ni.com/devzone/cda/tut/p/id/5307" target="_blank"></a> For some illustrations, have a look at the results of the old bit twiddling challenge: <a href="http://zone.ni.com/devzone/cda/tut/p/id/5307" target="_blank">http://zone.ni.com/devzone/cda/tut/p/id/5307</a> Message Edited by altenbach on 05-06-2008 07:08 AM |