12-17-2012 12:11 AM - edited 12-17-2012 12:15 AM
Thanks for the help. It works fine.
By the way, I plan to use this code in real time (Measurement and Index array will have about 250 elements).