LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Xor of array elements

Hello,

Dose anyone know how to get Exclusive Or (Xor) on array of U8 elements
in LabVIEW?

Avivit
avivit@helicontech.co.il
0 Kudos
Message 1 of 2
(4,578 Views)
Avivit Noiman wrote:

> Hello,
>
> Dose anyone know how to get Exclusive Or (Xor) on array of U8 elements
> in LabVIEW?
>
> Avivit
> avivit@helicontech.co.il

Create a for loop with a shift register. Initialize the shift to zero.
Feed the array in (let it autoindex) use the XOR function to
xor the shift with the U8 value, stuff into the shift register.
This will XOR all the values of the array together, and give a single value
I think this is what you want.
Kevin Kent
0 Kudos
Message 2 of 2
(4,578 Views)