07-24-2014 04:49 AM
Hello all,
I have an array of 1080 indexes of Laser scanner values, now I can detect an object distence using Min array fcn. Now I am stuck onto finding the edge point of the object by comparing the value differences from the minimum index.I need to find two points, which would be the edge point of the object. Can anyone please help me out? I am feeling helpless! 😞 ...eagerly looking for a reply. and thanks in advance...
07-24-2014 04:54 AM
Hi Jun,
at first you should use the AutoCleanUp tool.
Then you should move constant operations outside of your loop(s) like ArrayMinMax.
Then you should learn about autoindexing of loops in LabVIEW.
And finally you need to define your algorithm (and present some real data) before you can expect more help on your actual problem!
07-24-2014 05:14 AM
Hello GerdW!
Thank you very much for your reply. Right now the problem I am facing is from the minimum index point I need to compare each consecutive index for getting the desired index with the value greater than 100.using this algorithm to both sides of the minimum index will give me 2 index which I will store in a new array. please look into my program if you can help me on this.
07-24-2014 05:46 AM - edited 07-24-2014 05:46 AM
07-24-2014 06:42 AM
Hi GerdW,
Thanks for your kind help but i tried your program but its not helping. The problem I am facing now is the value I am getting is the last of the loop iteration while I need the first value according to my condition. Can you please tell me how to stop the loop using my condition?
07-24-2014 06:47 AM
just an addition to Gred's idea if you want indexes from both end
07-24-2014 09:11 AM
Hi..
Thanks for your help but still not working.Its returning the minimum index value as upper index. I appreciate your kind help...
07-24-2014 09:14 AM
07-25-2014 04:44 AM
Hey Guys...
Thanks for all your support..I have solved my problem and it was simple. Your inspiration is really appreciated.
Regards,
Jun