08-19-2010 09:01 AM
Hi
I am acquiring two sinusoidal signals continuously from a Daq card and their values are stored in two different arrays. Basically i want to write the values of one sample of each sinusoidal signal after every 0.5 second in an MS Excel file.
In the MS Excel file, the display should be ike this
SineWave 1 ( Samples) SineWave 1 ( Samples) Time
sample1 sample1 0.5
sample2 sample2 1.0
sample 3 sample 3 1.5
How can i do this ? Any help will be greatly appreciated.
08-19-2010 09:16 AM
CVI ships with multiple sample programs for Excel. From CVI, go to Help >> Find Examples, then click on the Search tab, and enter Excel.
08-19-2010 12:04 PM
Or if you want a extremely simple solution just write out your data in comma separated variable format (just has commas between the fields) and name the file with the .csv extension. Excel will load the file in the format you are looking for.
value1, value2, ... use a carriage return and line feed to start a new line.