LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to combine two 8 bit numbers to make a 16 bit number??


@waldemar.hersacher wrote:

Use "join Numbers" to get the 16 bit representation. Then mask (0x0400) out bit 9 with an And. If the bit is set then set bit 10 to 15 by Oring with the right mask (0xFC00).



As I understand it, the masks are
(0x0200) or (0b0000001000000000)
and
(0xFE00) or (0b1111111000000000).

Regards, Stefan
0 Kudos
Message 11 of 11
(906 Views)