Hey all,
Does anyone know a method to only collect the last x amount of point of data in an array. To elaborate on what I am doing.. I want to be able to generate a spreadsheet using an array method of collection (for mathematical manipulations), and at any point click a control that lets me generate the last 30 mins worth of data. I am able to set it up using a for loop easily to the point that if I prompt it to collect x amount of data before starting the test I can get 30 mins worth but can't seem to pinpoint a method to do the "at any time" report generation.
What I was thinking would be a solution was to set a restriction of the amount of cells an array has.. lets say 30 as an example. When it fills the 30 cells up the next point of data populates the top cell while removing the bottom cell, essentially shifting the array down one and populating the top. I thought of making an array constant on the front diagram but that just seems to control the indicator and not the entire data set going to the Write to Spreadsheet function.
Maybe I just didn't test out a method well enough? I have about 40 different arrays going into a build array function to allow me to manipulate the data correctly so I am not sure if using the index array will let me acheive this or will only let me get the first n amount of arrays going into the build array.
Thanks,
Sam