LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

building an executable with many layered VIs

I have tried to build an executable version of one of my LabView programmes. This programme contains many VI's. Many of these VI's are within other VI's.  Can someone enlighten me with a procedure to accomplish this build.  I am using Labview 8.2.1
 
Cheers
Herbie
0 Kudos
Message 1 of 27
(3,278 Views)
If you don't use dynamically called VI's its straight forward. Create a new build specification and add the top level VI, then press build.

If not, we need to know what you've already tried, the version of LV you're using and ...
Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 27
(3,270 Views)
Hi Andre
I have tried the method you described but the executable did not run when installed.  I have even tried adding the directory containing the source VI's to the support section of the build process. No improvement.  I will keep trying.
 
cheers
herbie
0 Kudos
Message 3 of 27
(3,253 Views)

herbie,

You said that the executable did not run when installed.  Did you try and run the .exe on your develpment machine? 

If you installed it on another PC you will need to install some files other than your .exe.  You will at a minimum need LV-Runtime and perhaps some others depending on your application.

0 Kudos
Message 4 of 27
(3,244 Views)
Not to ask a dumb question, but you never know... Is the top-level VI set up to run when opened/loaded?
0 Kudos
Message 5 of 27
(3,233 Views)
 

Hi Herbie,

You may find the following link of use: http://zone.ni.com/reference/en-XX/help/371361B-01/lvhowto/building_a_stand_alone_app/ 

It's basically a run through of how to create a standalone application for your LabVIEW project under 8.2, the machines you run this on will need LabVIEW runtime engine installed. Please let me know if this is of any use to you.

All the best,

Applications Engineer
0 Kudos
Message 6 of 27
(3,208 Views)
Hi
All the required files such as LV runtime engine were included in the build. The target machine had MAX and Daq files installed
 
Cheers
Herbie
0 Kudos
Message 7 of 27
(3,205 Views)

Hi Herbie,

Do you have a VI in the startup section of your build executable? Also when it doesn't run, does it do anything at all, i.e. can you see the program running inside task manager (ctrl-alt-del), and do any error dialogs pop-up?

Regards,

Applications Engineer
0 Kudos
Message 8 of 27
(3,203 Views)

hi Rob

I have the top level VI in the start-up section and at present I have the directory containing the lower level VI's in the support section.  When run the initial front panel appears but the programme hangs when the next VI in the chain is called.  Also in the project window I do not see a list of dependencies which I assumed would list all the lower level vi's.  This is the only programme that I am having a build problem with.

cheers

Herbie 

0 Kudos
Message 9 of 27
(3,201 Views)

Hi,

Would it be possible for you to upload your program in a .zip file here so I can recreate the problem?

Regards,

Applications Engineer
0 Kudos
Message 10 of 27
(3,199 Views)