09-05-2017 11:21 AM
Need help to develop a program for labveiw from a excel spreadsheet (which has two rows). How do you manage to get labveiw to read data from spreadsheet to display histograms?
09-05-2017 11:40 AM
The report generation toolkit can read Excel files. Note however that it not only requires Excel to be installed, it will actually open the report in Excel before reading it - so it is very slow.
09-05-2017 11:50 AM
Thanks for the reply. Just wondering how do you select the excel csv file (which icon) and how do need to format the data to suit developed program
09-05-2017
11:59 AM
- last edited on
04-14-2025
03:47 PM
by
Content Cleaner
@ripper6009 wrote:
Just wondering how do you select the excel csv file
... a csv file is not the same thing as an Excel file. If you want to read a csv file in, just use Read Delimited Spreadsheet.
09-05-2017 12:01 PM
Sorry its excel spreadsheet so an xlsx file
09-07-2017 11:37 AM
Look at BowenM's original suggestion. Since you did not post any code, we can't tell much about your environment, such as your LabVIEW Version. Do you have access to the Report Generation Toolkit? Do you have Excel installed on your PC?
There is third-party software that provides "hooks" into .xlsx files without requiring the RGT, nor (I believe) even Excel. I apologize to its Developer (whom I've met at NI Week), but don't remember the name of the Product. However, you can probably do a Web search and find it, and it is also probably on the LabVIEW Tools Network.
Bob Schor
09-07-2017
12:17 PM
- last edited on
04-14-2025
03:48 PM
by
Content Cleaner
09-07-2017 01:41 PM
Yes, that sounds right to me ... Thanks.
09-08-2017 09:25 PM
You could also look into using ActiveX, but this is what the RGT uses under its hood. So its almost the same thing where you would have to have Excel installed; however, the you wouldn't need RGT installed.
Chief LabVIEW Architect, Testeract | Owner, Q Software Innovations, LLC (QSI)
Director, GCentral | Admin, LabVIEW Wiki | Creator, The QControl Toolkit
Certified LabVIEW Architect | LabVIEW Champion | NI Alliance Partner
09-11-2017 04:35 AM
Provide Necessary Input and check whether you can read the expected values from the specified excel file