LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bit Twiddling??

Gentlepersons,
I just can't seem to find any functions in Labview to do bit-mask
operations. Do I have to roll my own? I noticed there are HiQ functions
bitAND, bitOR, and bitShift, but I don't want to have to install HiQ just
for these. Thanks in advance for your most helpful advice!
Vic
0 Kudos
Message 1 of 4
(3,338 Views)
Hi Vic

The Boolean functions do bit wise ORing and ANDing etc. on integers as well.
Also check out the 'Advanced\Data Manipulating' functions for rotating and
shifting etc.

Tim

VS wrote:

> Gentlepersons,
> I just can't seem to find any functions in Labview to do bit-mask
> operations. Do I have to roll my own? I noticed there are HiQ functions
> bitAND, bitOR, and bitShift, but I don't want to have to install HiQ just
> for these. Thanks in advance for your most helpful advice!
> Vic
0 Kudos
Message 2 of 4
(3,338 Views)
You can connect numbers to the normal Boolean functions (And, Or, Not,
etc) in LabVIEW. They will then do their operations on a bit-by-bit basis.

Kyle Gupton
National Instruments
Kyle Gupton
LabVIEW R&D
National Instruments
0 Kudos
Message 3 of 4
(3,338 Views)
You can also check the Advanced->Data Manipulation palette. There are
additional functions there for rotating and shifting bits, swapping
bytes & words, etc.


In article ,
kyle.gupton@ni.com wrote:
> You can connect numbers to the normal Boolean functions (And, Or,
Not,
> etc) in LabVIEW. They will then do their operations on a bit-by-bit
basis.
>
> Kyle Gupton
> National Instruments
>


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 4 of 4
(3,338 Views)