LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to rerun data from excel into a waveform chart with four inputs

For labview 6.0 I have not been able to find or make a program which takes already obtained data and is able to rerun that data saved in excel into a waveform chart or graph. Is there an example that I could use for this?
0 Kudos
Message 1 of 3
(2,634 Views)
The easy way to do this is to save your Excel data as "xxxxx.txt". Then you can just use the "Read from spreadsheet file.vi".
0 Kudos
Message 2 of 3
(2,634 Views)
Hey Jawalk01,

I would also suggest looking at the Write to Text File and Read from Text File examples that ship with LabVIEW 6.0. You can find these by opening LabVIEW and going to Help>> Examples>> Fundamentals>> File I/O >> ASCII Files >> Write to Text Files (or Read from Text File). The Read from Text File example reads data from a file back into a chart. You will need to modify the Read from Text File example to fit the format of your data. If you have a file created in Excel then you can save it as a text file so that LabVIEW can read it.

Another option would be to use activeX to access the Excel file. Here's a link to a document that discusses activeX and LabVIEW in general.
CE862567C2006D36C7?opendocument> ActiveX and LabVIEW

You can also find lots of examples by searching on our website.

I hope this helps!

Sarah Miracle
National Instruments
0 Kudos
Message 3 of 3
(2,634 Views)