03-21-2018 02:24 AM
@crossrulzPersonally, I'm thinking Variant Attributes where the attribute is an array of indexes. Create the attribute name based on the value, Get Variant Attribute to get the current array, Build Array to add the current index, and the Set Variant Attribute to write it. Just make sure the variant is in a shift register. You can then get all of the attributes with a Get Variant Attribute and do whatever you have to with the final data. Once you get the array out, it is simple enough to do an Array Size to figure out if it was duplicate and how many times it is in the array.
Dear Crossrulz
Your algorithms is quite advanced to me :(.
I have just tried to connect the input array and the found element array to a Get Variant Attribute and see the output results. The output variant give me the value corresponding to the index like:
[0] ---> 5.00
[1] ---> 3.00
[2] ---> 3.00
I will read more example about Variant Attributes to implement it.
Thank you so much!
03-21-2018 05:15 AM - edited 03-21-2018 05:16 AM
wrote: Your algorithms is quite advanced to me :(.

VI saved in 2014.
03-22-2018 11:59 PM
Thank you all for your help.
I have learnt many things from your suggestion and your VIs.
Micheal