10-05-2012 11:31 AM
Hi everyone
I am currently building a project to monitor room temperature using LabVIEW v.6i. I am try to get the data (date, time and temperature) into an excel file. The problem is now i want the data to be seperated into different column. So far the data is filled up in one column per row, as per picture below. I am attaching my VI as well.
What i need to add to make it date in one column, time in one column, and the temp in one colum, all in one row before the new data in another row.
Thanks in advance.
Solved! Go to Solution.
10-05-2012 11:34 AM
That's actually not a LabVIEW issue, but an Excel issue.
You need to get Excel to import the text file in a way that breaks it up into different columns by recoginizing the tab character as a delimiter.
10-05-2012 01:11 PM
Change the file extension to .txt
10-05-2012 02:04 PM
10-05-2012 02:30 PM
Thanks ben64
I did changed it to comma and it works =). Now what if I would like to insert header into each column such as DATE, TIME and TEMP on top of the colums?
10-05-2012 02:33 PM
Write that before the loop starts!
10-05-2012 02:44 PM
Where..?
At the New File vi or the Write File vi ?
10-05-2012 02:52 PM
After the new file, before the wires go into the while loop.
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
10-05-2012 09:59 PM
Thanks. Will go look into that toturial 😃
10-07-2012 08:03 AM