LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find Whether Array Element have same element in all index

Solved!
Go to solution

Hi ,

I need to check if an array have the same element in all its indexes.(Example: An Array of Size 4, should have index 0 ..index 3 as 1 and during next iteration let it be number 2 in all indexes......how do I check if all index have same number)

 

Attached the VI I did.

 

Anyone can suggest better than this.

0 Kudos
Message 1 of 3
(4,447 Views)
Solution
Accepted by topic author Dskp

same elements.png

 

get the first element , compare it with the hole array , AND all elements

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


Message 2 of 3
(4,435 Views)

Hi,

 

Thanks for the help..

 

thanks,

 

Selvan

0 Kudos
Message 3 of 3
(4,430 Views)