11-27-2014 08:47 PM
Hi,
Try to write a program in LabVIEW ,that check if an array have only Identical values in its indexes ,but couldnt find any good solution.
Please do suggest how to do this.
Attached the String array constant contain array of undentical elements and Identical elements.
Solved! Go to Solution.
11-27-2014 10:13 PM
use compare function
11-27-2014 11:30 PM
Hi Miraz,
To be clear from my side,If an array have 5 elements and all the 5 elements should be identical to themselves this is what i need to check.
My picture might be confused you.
Please do suggest on this.
11-28-2014 12:01 AM
Hello Selvan,
I think you are looking for this kind of solution, please see below image.
Kudos are always Welcome.... 🙂
11-28-2014 09:23 AM
HI Vinal,
Great !!!
Expected the same.
Thanks,
Selvan
11-28-2014 12:29 PM
11-28-2014 09:58 PM
Hi Ben.
This too working fine.
Thanks for your work.
Thanks,
Selvan
11-28-2014 11:47 PM - edited 11-29-2014 12:08 AM
@SELVAN.skp wrote:
Try to write a program in LabVIEW ,that check if an array have only Identical values in its indexes ,but couldnt find any good solution.
Please do suggest how to do this.
Attached the String array constant contain array of undentical elements and Identical elements.
Your example does not show arrays with only identical elements. Your left array has one or more duplicate elements. Is that what you are looking for? It seems you want to check if all elelents are unique or not, right?
11-29-2014 01:39 AM
Hi,
you are right.
to be simple,need check if an array have unique values.
Please dont confuse with the image,it just for an example something for reference.
Thanks,
Selvan
12-01-2014 02:36 AM
Check if all elements are equal:
/Y