Hey Brett,
It seems like you have a couple of different methods for doing this. If you do have a method to determine that one cycle ended and another began you could run a while loop inside a for loop and build an 2D array of the data that you would need to analyze. Once you have the array you could disregard cycles 2 - 7 and then find the max value of the first and last values. You could also keep track of each value and only keep the highest for runs one and eight.
Please let me know if this is along the lines of what you are looking for or not. Thanks!
Andy F.
Message Edited by Andy F. on 03-30-2006 05:11 PM
-----------------------------------------------------------------
National Instruments