Source File Settings Page (Application Properties Dialog Box)

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

Requires: Application Builder or Professional System

Use this page of the Application Properties dialog box to edit destinations and properties for the files and folders included in a stand-alone application. LabVIEW enables the options on this page only if the item you select in the Project Files tree supports the option. You can apply settings to all the files under Dependencies but not to individual files under Dependencies. If you want to apply settings to individual files, add them to the LabVIEW project.

Note  If you plan to distribute a stand-alone application that uses shared variables, do not include the .lvlib file in an LLB or in the executable. Change the Destination of the .lvlib file to a destination outside the executable or LLB.

This page includes the following components, depending on whether you select Dependencies or a folder:

Components that Display When You Select a Folder or Dependencies

  • Set destination for all contained items
    • Set destination for packed project libraries and shared libraries—Appears only when you select Dependencies.
  • Set VI properties for all contained items
  • Set save settings for all contained items
  • Set password for all contained items
  • Apply prefix to all contained items

Components that Always Display

  • Project Files—Displays the tree view of items under the target, such as My Computer, in the Project Explorer window.
  • Inclusion Type—Displays how LabVIEW includes the item in the build. This option corresponds to the inclusion type you selected in the Source Files page. For example, a VI in the Always Included listbox on the Source Files page appears as Always Included. To change the value, return to the Source Files page and move the selected item to a different listbox.

    • Always Included—Includes the item in the build.
    • Startup VI—Includes the item as a startup VI.
    • Include if referenced—Includes the item in the build if another item references it.
  • Destination—Sets the destination for the selected item. LabVIEW enables this option if you have not designated the item as a startup VI. The names in the Destination pull-down menu correspond to the options in the Destination label text box on the Destinations page. The default destination is Same as caller and LabVIEW places the item in the same destination as the caller.
    • Set destination for packed project libraries and shared libraries—Appears only when you select Dependencies.
    • Make top level in LLB—Appears when you select a destination that is an LLB.

      Place a checkmark in the Make top level in LLB checkbox if you want the selected VI to be the top level item in the LLB.

  • Customize VI Properties—Displays the VI Properties dialog box. Use the dialog box to specify the properties for the selected VI. By default, LabVIEW uses the property settings configured in the VI. Any settings you configure in the VI Properties dialog box override any settings you configured in the Customize Window Appearance dialog box. LabVIEW dims this option for items other than VIs.
  • Use default save settings—Saves the VIs using default save settings. The default save setting for the VIs you add to the Startup VIs and Always Included listboxes on the Source Files page is to remove the block diagram. The default for all other VIs is to remove the block diagram and the front panel. Remove the checkmark from this checkbox to change the default settings for each item you select in the Project Files tree.
    • Remove front panel—Removes the front panel from a VI in the build. Removing the front panel reduces the size of the application or shared library. If you select yes, LabVIEW removes the front panel, but Property Nodes or Invoke Nodes that refer to the front panel might return errors that affect the behavior of the source distribution. LabVIEW enables this option if you remove the checkmark from the Use default save settings checkbox.
      Note  If you execute the Run VI method after placing a checkmark in the Remove front panel checkbox, the Run VI method will return error 1013.
    • Remove block diagram—Removes the block diagram from a VI in the build. LabVIEW enables this option if you remove the checkmark from the Remove front panel checkbox. If you remove the front panel, you also remove the block diagram. As a result, if you place a checkmark in the Remove front panel checkbox, a checkmark automatically appears in the Remove block diagram checkbox.
  • No password change—Specifies for LabVIEW to not prompt for a password if you use the VI in a build. LabVIEW also does not modify or apply a password you previously applied to the VI.
  • Remove password—Removes the password you previously applied to a VI or library. Prior to removing the password, LabVIEW prompts you to enter the current password during the build.
    Note   If you programmatically build a source distribution which includes a password protected VI, LabVIEW builds the source distribution without prompting for the VI password.
  • Apply new password—Applies the password you supply in the text box to a VI or library. Prior to applying the new password, LabVIEW prompts you to enter the current password during the build. Enter the password in the text box below the Apply new password option.
  • Rename this file in the build—Renames a file that you select in the Project Files list.
  • Set destination for all contained items—Appears when you select a folder in the Project Files tree. Place a checkmark in the checkbox if you want to set the destination directory for the items in the selected folder.
    Note  LabVIEW places an item set to Same as caller in the directory of the caller. If you set an item to Same as caller and two different callers are in different directories, LabVIEW places the item in the same directory as the build.
    • Set destination for packed project libraries and shared libraries—Appears only when you select Dependencies.
  • Set VI properties for all contained items—Appears when you select a folder in the Project Files tree. Place a checkmark in the checkbox if you want to set the VI properties for the items in the selected folder. When you place a checkmark in the checkbox,LabVIEW enables the Customize VI Properties button.
  • Set save settings for all contained items—Appears when you select a folder in the Project Files tree. Place a checkmark in the checkbox if you want to set the save settings for the items in the selected folder.
  • Set password for all contained items—Appears when you select a folder in the Project Files tree. Place a checkmark in the checkbox if you want to configure the password for the items in the selected folder.
  • Apply prefix to all contained items—Appears when you select a folder in the Project Files tree. Place a checkmark in the checkbox to enter a prefix in the text box and rename all items in the folder by applying the prefix to the existing names.



Building and Distributing Applications Home

WAS THIS ARTICLE HELPFUL?

Not Helpful