Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read data from many excel files

I'm aquiring data continusly from several sensors, and every days file name are changed. Data are saved on xls files.
Now, I'd like to read every data from this files and put them in a waveform. How can I concatenate all files and read the values?
0 Kudos
Message 1 of 2
(2,208 Views)
You probably do not want to use a traditional waveform. LabVIEW has a Waveform Chart which inputs one point at a time. Waveform Graph inputs an array.

I suspect that the data is stored in an array. You need to read the arrays in and build them into larger arrays. If your right click on the build array vi, you can select concantenate which will append one array to the end of the other. When you have built your giant array, just feed it to a waveform graph.

If you need to see some example code, go to the advanced search page. It is at www.ni.com >> support >> advanced search (it is at the botton--click on the words). Enter excel read in the all the words field and search just the example programs. There were for hits.

Jeremy Braden
National Ins
truments
0 Kudos
Message 2 of 2
(2,208 Views)