LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I read previous test data into Labview?

I want to read and view a test done last week back into Labview. The initial test was done using Labview and the VI used was "Continous acquisition to a spreadsheet". I've searched all over and can't see if this possible.
0 Kudos
Message 1 of 2
(2,326 Views)
It shouldn't be a problem. The example program you used saves the data to a tab-delimited format that is compatable with Excel and most other spreadsheet programs. The only problem you might run into is if you have already opened the datafile in Excel, modified it and resaved it. This action would change the file format to Excel's native file format.

The first thing to try is to open the file with notepad. You should see numbers in orderly rows. If all you see is gobbeldy-gooke (technical term) then the file has been resaved in Excel. To get around this problem, open the file in Excel and select "Save As..." from the file menu. Next, select "Text (tab-delimited) (*.txt)" from the "Save as type:" popup menu in the resulting dialog box and click "Save".


This action will resave the file back into a version that LV can read. To read it into LV you can use the "Read from Spreadsheet File.vi" function from the File I/O function palette.

It really isn't very hard, but if you get stuck, post one of your datafiles and I'll send you an example of how to get the data back in.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 2
(2,326 Views)