09-20-2011 02:00 PM
Hi,
I am using Labview 2009 and Microsoft Excel 2007. I have written an application that writes and reads data to an excel spreadsheet. It works great in the development environment. However, when I compile it to an executable, and install it on another machine, excel doesn't launch.
I have followed the suggestions in the NI Knowledge base about including the excel dynamic vi's etc. But still nothing.
So what do I need to do to compile my program and create an installer so it will use excel on other computers?
Thanks
Ken M
Sr. Test Engineer
Mercury Computers
Salem NH
09-21-2011 02:52 PM
Hi Ken,
When your building an executable that references libraries and files outside of labview you have to be sure that those files and libraries are included in your build. For example if your program is supposed to open template you have created on the development computer and the file is not in the same location or has a different name on the test computer your program may not find the file.
It would be helpful if you posted your vi for us to see where there might be an inconsistency.
09-30-2011 02:15 PM
Hi Mike,
Sorry for the delay in answering. Things got a little wild for a while.
I figured out my problem. It was a silly mistake. I was trying to open and write to a spreadsheet that was *.xlsx. Labview wouldn't recognize it until I resaved it as a *.xls version. Everythig works fine now.
Thanks for your help.
Ken M
09-30-2011 02:48 PM
Hi Ken,
I'm glad you got it figured out!