06-05-2018 08:53 AM
06-05-2018 08:58 AM
you go into excel and save as csv (comma separated value)... this is a txt file, you just have to ignore the extension
06-05-2018 10:15 AM
06-05-2018 10:19 AM
@Felipe3109 wrote:
thanks for your help, but I need of a VI in Labview
This is the kind of descriptive information you should include in an original post. Remember you are asking other people to solve your problem for you. This works because you leave behind breadcrumbs for other people to search/read/use in the future.
For example, a well stated and answered post has Previously answered this. Because they were detailed in what they wrote back then, it is easy to search for their solution today.
06-05-2018 11:51 AM
I need of a Vi for convert excel file to txt
06-05-2018 12:04 PM
Please post what you have tried so far. What version of LabVIEW are you using? I think after 2012 or so the report generation toolkit was included with LabVIEW, which makes it relatively easy to work with Excel files. It does require that you have Excel installed on your computer to work with Excel files.
You would use report generation toolkit (search for it in the functions pallet) to create a new Excel report, with the Excel file you want to convert as the "template" input. (It's a little counter intuitive). Then you can use a read data or get data function to read the text from it, and use your choice of however you want to write it to a text file.
06-05-2018 12:07 PM
I'm using labview 2015
06-05-2018 12:10 PM
Great! Give it a go and report back with any troubles.
06-05-2018 12:12 PM
Duplicate Post: https://forums.ni.com/t5/LabVIEW/how-to-convert-excel-file-to-txt/m-p/3801167#M1072793
Let's carry on our conversation over there.
06-05-2018 12:13 PM
I did not realize I was posting on a duplicate post before, so here is a copy of my response:
Please post what you have tried so far. What version of LabVIEW are you using? I think after 2012 or so the report generation toolkit was included with LabVIEW, which makes it relatively easy to work with Excel files. It does require that you have Excel installed on your computer to work with Excel files.
You would use report generation toolkit (search for it in the functions pallet) to create a new Excel report, with the Excel file you want to convert as the "template" input. (It's a little counter intuitive). Then you can use a read data or get data function to read the text from it, and use your choice of however you want to write it to a text file.