06-18-2015 08:06 PM
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.
06-18-2015 08:32 PM
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.
06-19-2015 05:31 AM
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.