02-26-2016 09:44 AM
The left column is the loop iteration number.
02-26-2016 09:57 AM
Use the simple "Write to Spreadsheet" VIs. (They have a slightly different name in 2015). I have it set up for comma separated (.csv) but you can change the delimeter to whatever you want. This is a snippet so you can drag it onto the block diagram and play with the code.
02-26-2016 10:07 AM
Thank you. This might be an overly simple question but what is a delimeter?
02-26-2016 10:11 AM
Also would this structure still be valid if I'm trying to write multiple columns of data values for each loop iteration?
02-26-2016 10:13 AM
Delimeter is what separates your data along a row.
Comma: Data1,Data2
Space: Data1 Data2
Tab: Data1 Data2
Yes, if you have another single data point for each loop you can expand the "build array" node and wire it in.
02-26-2016 10:38 AM
02-26-2016 10:40 AM
That's just a text header that I wrote to the file first. You can change the column, or expand the array horizontally, to change what text is written as a header.
02-26-2016 10:47 AM
02-26-2016 10:49 AM
You can open .csv or .txt files in notepad. If you ever do want to write to an excel file, make sure to use the report generation toolkit, not the write to spreadsheet functions.
03-03-2016 09:32 AM
Thanks for your help. The data is now nicely written in columns. One final question. The numbers only go to three decimal places. Is there an easy way to extend that?