The NI website has a example that uses the "Get Time/Date String.vi"
to return a precise timestamp. It will give you an answer with a 55
mSec accuracy.
<>
Note that the entire link is very long, and enclosed in the 2 brackets
<>
You can use this VI to return a string containing the timestamp, and
join it to a string containg your data reading.
If I was doing the software, I would start by writing the data to a
Comma seperated text file using the "write to file.vi", because it is
much faster and easier to write, and Excel can import the data in a
text file easily.
You can also write this data to an
Excel file directly, but writing
directly to Excel requires using and understanding AcitveX, which can
be difficult. For that, I would recommend searching the NI Developer
Zone (http://zone.ni.com/zone/jsp/zone.jsp) for Excel examples.
>