Use an Application document (.gcomp) to convert code into an executable.
Before you begin, create a project that contains the files you want to include in your executable.
Click Locate item in Windows Explorer to locate the executable in the output directory.
Create a new Application document.
On the Project Files tab, right-click the VI(s) you want to include in your executable and select Create Application/Library from item.
In the Create Application or Library dialog box, set Type to Application.
Enter values in Application name and Namespace.
Determine whether to enable the Include dependencies not in an Application or Library checkbox. If you enable the Include dependencies not in an Application or Library checkbox, the Application or Library document you create includes any dependencies your VI(s) require that are not already in an Application or Library document.
In the Application document, select a VI and enable the Top-level VI checkbox. The panel of the top-level VI launches when you run the executable.
You must choose at least one VI to be the top-level VI. If you enable the Top-level VI checkbox for multiple VIs, the VIs launch in separate windows when you run the executable.
- On the Document tab, enter information about your application in the Details section.
- Optional: In the Icon section, click the ... button to import a .ico file to use as the icon of the executable.
- Click Build Application. The Build Queue tab shows the status of the build process.