Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Adding Items to a Project

Use the Project Explorer window to add LabVIEW files, such as VIs and LLBs, as well as non-LabVIEW files, such as text files and spreadsheets, to a target in a LabVIEW project. When you add files to a project, LabVIEW creates items in the Project Explorer window to represent the files on disk. You can create an organizational structure for items in a project.

An item can only appear once under a target. For example, if you add a file from a directory on disk to the My Computer target and then add the entire directory to the My Computer target, LabVIEW does not include the file again.

You can add items under a target in a project in the following ways:

  • Right-click a target or a folder under the target, select Add File from the shortcut menu, and select the file(s) you want to add from the file dialog box. You also can select the target, select Project»Add To Project»Add File, and select the file(s) you want to add from the dialog box.
  • Right-click a target and select New»VI from the shortcut menu to add a new, blank VI. You also can select File»New VI or Project»Add To Project»New VI to add a new, blank VI.
  • Select the VI icon in the upper right corner of a front panel or block diagram window and drag the icon to the target.
  • Windows and Mac OS Select an item or directory on disk and drag it to the target.
Note  You cannot drag and drop items in the Project Explorer window to the file system.

You also can add new LabVIEW files to a project from the New dialog box. Select File»New or Project»Add To Project»New to display the New dialog box. In the New dialog box, select the item you want to add and place a checkmark in the Add to project checkbox. If you have multiple projects open, select the project to which you want to add the item from the Projects list.

Items you add to the Project Explorer window can include icons.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit