05-09-2014 11:03 AM
I am running a program in the run continously mode.
One of the variables changes with time(It is inside a while loop and is a part of DAQ task).I want to record all the values that this variable takes during run time and write them to a spreadsheet file?
How can that be done?
Solved! Go to Solution.
05-09-2014 11:09 AM
@Gaussy wrote:
I am running a program in the run continously mode.
Stop doing that. Put a loop around your code and stop with a stop button. The run continuously is meant purely for debugging purposes.
Gaussy wrote:One of the variables changes with time(It is inside a while loop and is a part of DAQ task).I want to record all the values that this variable takes during run time and write them to a spreadsheet file?How can that be done?
Use the Write To Spreadsheet File function. If you want more specific help, you will need to share some code.
05-10-2014 05:42 AM
I am uploading a snapshot for my VI. I am creating a PID application.What I need to do is to record all the values of measured RPM and desired RPM with timestamps to an Excel sheet..so that i can make a plot of this to observe transient response.I have no clue as to how to go about doing this!
05-12-2014 07:05 AM - edited 05-12-2014 07:05 AM
Give this example a look over. I am opening a file before my main loop starts and closing it after the main loop. Inside of the loop, I am formating my data into a tab delimited string. I am then saving that string to the file.
05-12-2014 10:33 AM
I did the same and it worked!!!
Thanks 🙂