I've got 2 signals acquired from a DAQ with sample buffer set to 1. All of my code is within a while loop. How would I go about filling an array with x samples to perform numeric analysis, then clearing the old array to fill with newly acquired x samples? It's important to be able to do this analysis during a live acquisition.