Syncing the timestamp with incoming data in Labview 
In Labview, I'm trying to produce a .csv file with one column being the timestamp and the others being the data so each data point is timestamped.  I have succeeded in doing that, but my timestamp and data aren't synced so the values don't always align. For example, sometimes it will only have a data point, but not a timestamp associated on the same line. Here is the section of the code that takes the waveform (data) and timestamp to spit out the spreadsheet file.  ![Here is the section of the code that takes the waveform (data) and timestamp to spit out the spreadsheet file.][1]  Not shown is the time delay.  

Thank you in advance! 


  [1]: http://i.stack.imgur.com/mH7qs.png
Syncing the timestamp with incoming data in Labview 
===

In Labview, I'm trying to produce a .csv file with one column being the timestamp and the others being the data so each data point is timestamped.  I have succeeded in doing that, but my timestamp and data aren't synced so the values don't always align. For example, sometimes it will only have a data point, but not a timestamp associated on the same line. Here is the section of the code that takes the waveform (data) and timestamp to spit out the spreadsheet file.  ![Here is the section of the code that takes the waveform (data) and timestamp to spit out the spreadsheet file.][1]  Not shown is the time delay.  

Thank you in advance! 


  [1]: http://i.stack.imgur.com/mH7qs.png