LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Handling bits of data

Hello Everyone,
 
I want to bit wise manipulation of data.
I have 6 bit of data ranging from 0 to 63 and 2 bits of data ranging from 0 to 4.
I want to add so as to get one byte of data.
Meaning 00000111, should give an output of 7  (first 6 bits from first data and 11 from second data)
I have two arrays of these values.
 
Please help or provide any information if avaliable for manipulating bit wise opeartion..
 
Thanks a lot in advance.
 
Avni
 
0 Kudos
Message 1 of 5
(2,973 Views)
Hi Avni,
 
Please see the attached vi for handling the data bitwise.
 
Hope this will be helpful to u n is as per your need.
 
Regards,
Alifiya
0 Kudos
Message 2 of 5
(2,965 Views)

Hi,

Thanks for your reply.

I am using LabVIEW 8.2 .

Can you please give the VI in version 8.2.

Once again thanks a lot.

Avni Vyas

0 Kudos
Message 3 of 5
(2,959 Views)

Hi Avni,

Plz find the attached vi in L8.2

Regards,

Alifiya

0 Kudos
Message 4 of 5
(2,956 Views)
Tip: The for-loop is not required. The Not Equal To 0? function is polymorphic. Smiley Wink
0 Kudos
Message 5 of 5
(2,940 Views)