LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

excel won't launch

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

kmerrith@mc.com

Smiley Happy

0 Kudos
Message 1 of 4
(2,781 Views)

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.

 

Regards,

Mike Altmann
Product R&D
NI
0 Kudos
Message 2 of 4
(2,758 Views)

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

Smiley Happy

0 Kudos
Message 3 of 4
(2,741 Views)

Hi Ken,

 

I'm glad you got it figured out!

Regards,

Mike Altmann
Product R&D
NI
0 Kudos
Message 4 of 4
(2,736 Views)