LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

1 Analog Input using a DAQ card and would like to save the data into an excel file

As you may have realized, I am very new at using Labview 6.1. I have an analog voltage input that I would like to save in an Excel file as a 2D array (time, voltage). I was wondering if anyone knew a very simple way of doing this and could help me out. Thanks
0 Kudos
Message 1 of 2
(2,860 Views)
There are a couple example program online and in LabVIEW that I think you’ll find useful. You might want to consider just writing out a tab-delimited spreadsheet file that Excel can read rather than writing it out to Excel directly as this requires learning ActiveX and Microsoft’s Common Object Model.

In LabVIEW, see the Write to Text File.vi in C:\Program Files\National Instruments\LabVIEW 7.1\examples\file\smplfile.llb. Writes simulated, timestamped data to a text file in ASCII format that can be read by spreadsheet applications.

Online, you can look at:
Stream Scaled Data (Voltages) to a Spreadsheet File
Chart Analog Data from File, Using the Cont Acq to Spreadsheet.vi Example

Hope this helps. Best of luck!

Kileen
0 Kudos
Message 2 of 2
(2,838 Views)