LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application Builder Help

I have created a LabView VI that has a sub-VI component within it. When I run the main VI on my developmental computer with the full-development package, everything runs exactly how I want it. I now wish to use the Application Builder to make an executable of the main VI to distribute to another computer. However, when I create the executable and run it on the remote computer, everything works fine up until the sub-VI should run then the program crashes without executing the sub-VI. I'm thinking that I need to do something special with the sub-VI during the building of the executable be am not really sure what to do. If you could walk me through how to create this type of executable it would be very helpful.

0 Kudos
Message 1 of 6
(3,199 Views)
Hello,

By the post that you've, I think that the problem may not be on the application builder. I think that you should try to review your program.
If you want our help, a better approach it's if you post a small example (not all the code) where the problem it's happening.

Don't forget to say your labview version.
Software developer
www.mcm-electronics.com





PORTUGAL
Message 2 of 6
(3,184 Views)
The problem was that I needed to include a dynamic executable within my main executable for writing data to Excel since that is what my sub-VI what designed to do.
0 Kudos
Message 3 of 6
(3,174 Views)
OK,

But it's a little bite more difficult to help you if you don't post a small example. Can't you do that?

Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 4 of 6
(3,163 Views)
Hi Matt,

I would be able to help you determine what the problem is if you could provide a few more details.

What version of LabVIEW are you using?  What is in the subVI?  Are you able to reproduce this issue when the subVI that does something very simple, such as adding numbers?
0 Kudos
Message 5 of 6
(3,142 Views)
The version of LabView that I'm using is 8.2.1. The problem I was having has been fixed. I found out that the underlying cause wasn't that the main program had a sub-VI, but rather the sub-VI is used to create an Excel report using a template. In the case of converting my main program into an executable, an excel driver had to be installed with the executable during the building process.
0 Kudos
Message 6 of 6
(3,136 Views)