LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timestamping DAQ Data from Multiple channels for logging to an excel file

I am writing a labview application to be installed on a PC as an executable file with the Labview Engine.  I want to acquisition multiple channels from my DAQmx device at different times during my program.  I need to timestamp these data acquisitions and log them to excel to be built as a timeline chart in excel.  I will acquire cahnnel 1 during one phase of the acquisition, and then channel 1 again at the next phase of testing with the hopes of reconstructing these acquisition logs in my excel file on a single chart showing all acquisitions. 

 

How do I create a timestamp system that can log this data with precision?  The DAQmx VIs only bring data back in a double array or a waveform.

 

 

 

0 Kudos
Message 1 of 3
(2,889 Views)

A waveform consists of a timestamp for the first data point of the array, a very precise timestamp, and also a dT, the time interval between data points.  You can do the math to figure out the precise timestamp for each point in the array.

0 Kudos
Message 2 of 3
(2,877 Views)

Just use the Export Waveforms To Spreadsheet File function.  It accepts your waveforms and writes to a text file which Excel can read.  It even does the timestamp for you.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(2,846 Views)