LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dat file

If I have one .dat file on my PC, can I open it as an .xls file in VI program? (ex: click one button to show the .dat file in .xls format)

please give some advice. Thanks

0 Kudos
Message 1 of 6
(4,016 Views)
What does this .dat file contain? Where did it come from? An .xls file is an Excel workbook. There is no .xls display format unless you're referring to the file format, which I highly doubt.
Message 2 of 6
(4,013 Views)

Hi smercurio…
I collect the data from oscilloscope and then save it in .dat format. Please refer to my attached .dat file for referrence. Is there any way I can view the data in VI front panel using list & table function? Regarding what you've said, did you mean that if I save the data in Excel workbook, I can open it as .xls format?

Thanks for your time.

0 Kudos
Message 3 of 6
(3,993 Views)

Zero,

 

What you attached is not a .dat file like you were talking about, but an .xlsx file, the newest Excel file format.  You should have either posted your actual .dat file and stated how it was created, (was it a text file, csv, tab limited, or from some other program).  Or posted it as a real Excel .xls file.  The vast majority of people participating in these forums don't use the latest version of Excel and thus would not have a mean of opening an xlsx file.

Message 4 of 6
(3,989 Views)

Sorry that I was unable to attached the .dat file, the brower shows the error "The file does not have a valid extension for an attachment." Instead I used Microsoft Excel to open it and save to .xls format. That was the data I get from 4 channels of oscilloscope.

0 Kudos
Message 5 of 6
(3,982 Views)

First, there is no such thing as a .dat file format. From your other post, you are just giving a text file a .dat extension. You originally asked if yuo could read the file with Excel and obviously you can since it is an Excel file you posted. Since you are using the Write to Spreadsheet File to create the file, you could obviously read it with the Read From Spreadsheet File function and display the data in a table.

Message 6 of 6
(3,975 Views)