‎12-02-2011 11:06 AM
Im acquiring Temperture readings and writing them to the A column of a Excel Sheet. How can i Acquire the time and place it in the same excel sheet in the same column or the Column B?
‎12-02-2011 11:59 AM
What exactly are you having problems with? You have the functions on the Timing palette to get Date/Time as a string or as a numeric (seconds since 1/1/1904). There have been numerous posts on converting the numeric to Excel seconds.
‎12-02-2011 12:04 PM
i use "Tickcount (ms)" and subtract the starttime if i need the timestamp since the program was started
‎12-02-2011 12:18 PM
Thanks for the reply. I am able to write my temperature date to Excel and im also able to write the time stamp but i can not do them both together. I would like for the Temp data to be in Column A and Time Stamp on the Right of it in Column B.
‎12-02-2011 12:23 PM
you can collect the data in a formatted string and write it to a .csv file
‎12-02-2011 12:24 PM
Pretty hard to tell what you are doing wrong when you don't post the code.
‎12-05-2011 11:05 AM
Hi *E*,
Below is an example to write to a spreadsheet into two columns. If you are just getting one string for both your Temp and Time then parse them into two string and add one to Column A and the other to Column B otherwise just build an array and put your Temp and Time in separately.
https://decibel.ni.com/content/docs/DOC-2101
Tim O
‎12-14-2011 05:22 AM
Thanks Tim O