Hi Brandon,
It would be easier to troubleshoot this if you can zip the whole project with its dependencies into a single zip.
However, if you can acquire the data, you can have the loop run however long you want with either a For Loop or While Loop, depending on if you want it to run for a set amount of time (enforced by Wait (ms)), or wait for a certain Boolean to indicate that acquisition is complete, respectively.
Then, depending what type of file you want to write to, you can use the Report Generation Toolkit or simply the Write to Spreadsheet File VI. You can also just read more about the different File IO VIs that we have.
I hope this is helpful, but let me know if we can answer anymore questions!
Timothy D.
Applications Engineering
National Instruments