LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding to array for finding the bit error based on hamming distance

Hi every One

 

I designed below structure to find the BER based on hamming distance. It is not working. 

I hope there is some professional KNIGHTS available.Smiley Frustrated

0 Kudos
Message 1 of 6
(3,438 Views)
At this point, you are just spamming the boards with the same question over and over. Very rude behavior and a behavior that tends to get you ignored.
0 Kudos
Message 2 of 6
(3,420 Views)

Think a bit more about how you're calculating your Hamming distance.

 

You're going to want to do a bitwise XOR. A simple Not Equal operating on the U8 is no good.

You can also take advantage of for loop autoindexing and leave the N terminal unwired.

There are probably more efficient ways of doing this but my initial guess was to use the Num To Boolean Array, XOR, Bool to [0,1] and Add array elements functions.

0 Kudos
Message 3 of 6
(3,416 Views)
Taki,

Please don't make it worse by responding to just the latest in a long string of duplicate posts.
0 Kudos
Message 4 of 6
(3,410 Views)

I just said it is not correct. Your behaviour is not correct. 

0 Kudos
Message 5 of 6
(3,371 Views)

Hi Takki

 

I used Array to boolean but there is a error. My input is one dimention of array (0 to 255) and when I use array to boolean , there is an error.

 

0 Kudos
Message 6 of 6
(3,354 Views)