A possible solution can be to create an array initializing it with a non-expected value. In your case seems like it can be a negative number (assuming all your numbers are positive. If not, you can come up with another condition, like a number that is not likely to occurr). For example, you can create a 200 elements 1-D array using the "Initialize Array" vi, with all elements initialized to -1. Then, you can use the "Replace Array Element" to change the value of each element in the array as they are generated by your application. Keep track of the last element to be changed in the array by using the vi "Array Max & Min", checking the result of the "min index" output (Alternatively, you can use "Search 1D Array").
Just to mention, all this can be a lot more easy with L
abVIEW 6, as it include more and more appropriate functions to handle arrays for these type of situations. If it turns out that you have LV 6, I hope the option that I just propose for your situation can help you in achieving a more appropriate one.
Best regards;
Enrique
www.vartortech.com