LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get 13 bits binary data

Hello,
I have a question for the following concept:

Data A: XXXX XNNN (I don't need to use NNN bits, so I want to logical shift >>3)( that's mean ---X XXXX)

Data B: XXXX XXXX (All bits will be used)

SO I would like to add these two data as follow:

Final data: X XXXX XXXX XXXX
(A) (B)
Can I do that in LabVIEW 5.1?
Thanks in advance.
0 Kudos
Message 1 of 2
(2,527 Views)
I included in the answer an example built for demostrating how to use your binary code in the form of an array... basically you use the array VIs in order to manipulate this kind of cutting some bits and adding a bigger number. Take a look to the example attached and see how with the array operations I cut and add the bits in the way you solicited.

Good luck!...

Nestor Sanchez
Applications Engineer
National Instruments
Nestor
0 Kudos
Message 2 of 2
(2,527 Views)