LabVIEW Project

From LabVIEW Wiki
(Redirected from Project Explorer)
Jump to: navigation, search

About LabVIEW Projects

A LabVIEW Project is a tool for organizing project files, NI hardware, configuration data, and build specifications. Project information is stored in an .lvproj file.

The "Project Explorer" window, shown below, is where you interact with LabVIEW projects:

The Project Explorer


The contents of a project is separated into Targets. Each target represent a platform on which the code will run, for instance Real Time modules.

Under each target three subdivisions are made:

  1. Code
  2. Dependencies
  3. Build specifications


Items under a target represent links to actual files, these files can be rearranged inside the LabVIEW project to have a better separation like VIs, controls or libraries. Moving things around inside the LabVIEW project will not alter the files or their location except when the files are added or removed from a library-file.


Dependencies are files used by files inside the code section and not explicitly added to the project. LabVIEW 8.5 and up have separate categories for vi.lib, user.lib and instr.lib.

Build specifications

The build specifications contains setting for distributing the code in several forms as a toolkit (source distribution), executable (exe), shared library (DLL) or web-app.

These builds can be included in an installer.

Project Item


Elements in a project can be organized using folders. (The original LabVIEW project implementation (LabVIEW 8.0-8.2) only allowed so called Virtual folders where there was no connection between the project folder or a disk folder.) Upon user request LabVIEW 8.5 added support for Auto-Populating folders. These folders are a shortcut to a folder on a disk and will include all the files inside that folder (including sub-folders). Mixing Auto-Populating folders with LabVIEW library folders is not recommended and might cause cross-links.

GUID Index

For any Project Item a Type string and GUID string can be obtained using VI server. The following table lists the GUID for several Project Item types.

Item type
Type String
GUID String
Virtual Folder
Auto Populating Folder
(Non-LabVIEW) file
Lvlib file
LabVIEW class
Class datatype
Class Private Data
LabVIEW XControl
XControl ability VI
Ability VI
DAQmx Task
NI-DAQmx Task
DAQmx Virtual Channel
NI-DAQmx Channel
DAQmx Scale
NI-DAQmx Scale
Shared NetworkVariable

Tips and tricks

  • Select Arrange By from the right-click menu of a folder to choose between different sorting options.
  • Drop any file into the Project Explorer to add it to the project. This also works for multiple files and folders.

External Links