LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time and Date

Dear Sir,
I have expermint and i get the tempretures from diffrent area in furnace ,i get thoes readding of tempreture through data acuisation to Desk Top PC ,and i use LabVIEW to get the readding every second ,actually i want also to now the time and Date of each reading and to get this readding in Excel File .
Thanks
Rabea
0 Kudos
Message 1 of 3
(2,784 Views)
this file may help you
0 Kudos
Message 2 of 3
(2,784 Views)
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.
0 Kudos
Message 3 of 3
(2,784 Views)