LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

comparing two arrays

hey I just want to ask how can we read from a boolean array, for example i have 2 arrays of numbers, and i compared them to see if they're equal. the result of this comparasion is a boolean array. so i need to read from this array and output a string mentioning which indexs are equal. see my trial program attached over here.

thanks

0 Kudos
Message 1 of 3
(2,580 Views)

It is an unusual requirements to have a string output. Why not output an array of indices?

 

Here's a VI that does both. In case this is homework, be aware that your teacher also reads this forum. Make sure you fully understand every single code element in detail! 😉

 

 

(Of course doing comparisons on DBL is another can of worms and typically not recommended.)

0 Kudos
Message 2 of 3
(2,573 Views)

actually this a little part of my hw, i just wanted some help at this point, and thank you so much i try to benefit from ur help to improve my program:)

0 Kudos
Message 3 of 3
(2,564 Views)