LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Incomplete time displayed using data stoarge (TDM) in Excel

Hello -
 
I am currently writing a simple program to acquire and save data (program is attached).  I am reading data in as a waveform and then saving it using data storage which can then be opened in Excel.  However, when I open the Excel file all the data is complete except for the time column which typically only has 30-60 values (while there are typically a couple thousand of the other columns).  I have attached an Excel file as well so that you can see the incomplete column.  Any advice or suggestions in solving this mystery would be greatly appreciated.
 
Thanks,
Kat
Download All
0 Kudos
Message 1 of 3
(2,600 Views)
Hello Kat,
 
I assume you're using the TDM plug-in for Excel to view this data based on the format of your excel file. (If you're not, let me know). I believe the problem is in the way you've wired the data from the DAQmx read vi to the Write Data VI. If you place a "To DDT" express VI (from the Express >> Signal Manipulation palette) and select 1D array of waveform as the conversion type, this should fix the problem. Try the VI below.
 
Hope this helps!
Charlie S.

Visit ni.com/gettingstarted for step-by-step help in setting up your system
Message 2 of 3
(2,590 Views)

Charlie -

That worked perfectly!  Thank you so much for your help.

Have a great day,

Kat

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