I am controlling a power supply and I want the program to run while I change values for voltage (hence the while loop). When I stop the program, I want all data to be saved by the program prompting the user with a dialog box (for the user to enter where he/she wants the data to be stored and what to name it). It seems quite simple and I am very close with my code. My current code prompts the user each iteration of the loop with a dialog box, however I just want one dialog box prompt at the end of the program storing all the data.
I tried putting the "Write Spreadsheet to File" subvi outside the while loop but it only stores the last iteration of the while loop.
I looked in the forums to find a solution, but I could not. It seems like many people have struggles saving data as a CSV from Labview.
Help would be appreciated! Thank you!