Use a For loop with the iteration wired to an index array vi. Your array is also wired to the index array. For each iteration (0, 1, 2...) you will have access to that array element (0, 1, 2...) - which you can perform all the operations on before going to the next iteration/element.
Good luck with it, Doug