06-04-2014 01:27 AM
Hi
I need help to build a 1D(string) array from a MS Excel file. I've tried using read from spreaaadsheet/ read from Meaurement file. I'm unable to do this. The excel file contains alpha-numeric data. please suggest with some example vis.
input would be the excel file path
output would be a 1D array of strings
Thank you
Solved! Go to Solution.
06-04-2014 01:53 AM
Is it necessary to be an Excel file or you are using Excel to open the file?. If it has to be Excel then you may have to use the Active X (Example you can find in this board), otherwise just save it as csv file and use the Read from spreadsheet vi with "," as delimiter.
06-04-2014 04:52 AM
hi i've updated the program. i'm getting an output but, the output array comes out as comma delimited elements. how do i seperate them??
06-04-2014 05:15 AM
For reading excel
06-04-2014 06:25 AM
muks, this program doesnt work for strings
06-04-2014 06:34 AM
@mayurvnktsh wrote:
muks, this program doesnt work for strings
How do you say it doesn't work?
06-04-2014 06:35 AM - edited 06-04-2014 06:58 AM
@mayurvnktsh wrote:
hi i've updated the program. i'm getting an output but, the output array comes out as comma delimited elements. how do i seperate them??
You must give the delimiter as "," (comma) while using the Read from spreadsheet vi to read the file.
06-04-2014 11:59 PM
Thank you
I'm posting the completed VI for others reference