Adding LLBs to a Project

Complete the following steps to add an LLB to a LabVIEW project as a folder or as a file in the Project Explorer window.

Adding an LLB to a Project as a Folder

  1. Right-click a target or a folder under the target and select Add»Folder (Snapshot) from the shortcut menu to add an LLB to the project as a folder. A file dialog box appears.
  2. Navigate to the LLB you want to add.
  3. Click the Open button in the file dialog box. The folder appears in the Project Explorer window. LabVIEW uses the filename of the LLB to name the folder and adds the VIs in the LLB as items within the new folder.

Adding or removing items from the virtual folder in the Project Explorer window does not affect the .llb file on disk. Use the LLB Manager window or an auto-populating folder to edit an LLB on disk. Right-click a target or a folder under the target and select Add»Folder (Auto-populating) from the shortcut menu to add an LLB to the project as an auto-populating folder.

Adding an LLB to a Project as a File

  1. Right-click a target or a folder under the target and select Add»File from the shortcut menu to add an LLB to the project as a file. A file dialog box appears.
  2. Navigate to the LLB you want to add.
  3. Click the Add File button in the file dialog box. The LLB browser opens.
  4. Click the open folder icon labeled VI with a single period in the LLB browser.
  5. Click the Select button to select the file and close the LLB browser. The file appears in the Project Explorer window. When you add an LLB as a file, the VIs in the LLB do not appear in the Project Explorer window.

You also can use the Add Item method to add an LLB to a project as a folder or as a file programmatically.