LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Questions on building stand-alone applications

Hi,

I want to build an .exe file using the LabVIEW Application Builder.

Here are some queations:
1. Do I need to specify the sub-vis in the Project Explore window? The sub-vis that the top-level vi calls are not included automatically when the top-level vi is added.

2. In the Application Builder >> Source Files, the top-level vi is defined as the Startup VIs. How about the sub-vis? Should they be defined as Dynamic VIs and Support Files?

3. If the .exe file is run on a location other than the development PC, the LabVIEW Run-time Engine must be installed on the target PC. Is it right? How about the version of the Run-time Engine? Is it same as the one used for building the .exe file? Or it doesn't matter?

Thanks,
Bei


0 Kudos
Message 1 of 5
(2,656 Views)
Hi

1./2. SubVI's don't need to be included explicitely - neither in the project nor in the build specification. They are automatically added to the exe. What you need to include are dynamically called VIs, i.e. VIs called using VI server.

3. Yes, LabVIEW run-time needs to be installed on the target machine. Same version as the LabVIEW version used to build the application. You can add LabVIEW run-time in the installer (if you create one) for your application. If you don't do that, you'll need to make sure the correct run-time version is installed before trying to run the application.

Daniel

Message 2 of 5
(2,646 Views)
Hi, Daniel,

Thanks for the quick reply.

Could you explain dynamically called vis a little bit? How can I know what dynamically called vis are used by the top-level vi?

Thanks,
Bei


0 Kudos
Message 3 of 5
(2,639 Views)

Look e.g. at the Dynamic Load Example.VI. (Help>>Find Examples ...)
It shows that you can execute a VI without having placed it on the block diagram.
As your project doesn't know which VIs you call dynamically they must be specified.

Regards, Guenter

Message 4 of 5
(2,632 Views)
Thank you both for the help. The problem was solved.

Qifu
0 Kudos
Message 5 of 5
(2,554 Views)