I give an example. Let say there is 2 number. First is 2.2323223 and the second is 2.23245454. If i use that high low vi, it will take both value. Now i only want to compare both and take the higher value in it. So, i use the round to nearest but it doesn't work. Can i know why?
Are these numbers in your locations array? Previously you said that if the locations array where the same to only get the highest amplitude. Are you saying now that you only want to compare the Locations array to 3 decimal places? ie
would return, Locations = 2.23477, Amplitude = 12 ?
Yeah, this number is in the location array. It will take both values. And i try using round to nearest, somehow, it doesn't round to nearest.
I will modify the vi i sent you so you can insert the amount of decimal places you want it to be accurate too. Give me 10 mins.
This will now allow you to specify the amount of decimal places you want it to be accurate too. You can even choose from rounding up/down/nearest.
The main vi you need is 'Approx duplicate hi lo selection' the others are sub vi's. You can use the 'Approx Array Hi Lo Example' vi to test.
This still needs fully de-bugging as i dont have time.
Let me know if it sorted your problem