Project Explorer
| |
This page is under construction. This page or section is currently in the middle of an expansion or major revamping. However, you are welcome to assist in its construction by editing it as well. Please view the edit history should you wish to contact the person who placed this template. If this article has not been edited in several days please remove this template. Please don't delete this page unless the page hasn't been edited in several days. While actively editing, consider adding {{inuse}} to reduce edit conflicts. |

The Project Explorer window is the window to view and edit LabVIEW Project files (*.lvproj). The Project Explorer was first introduced in LabVIEW 8 as the means to organizes files, hardware configurations, Target configurations, and Build Specifications as a project.
The Project Explorer consists of:
- A Menu bar
- A Tool bar
- An Items Page
- A Files Page
Items Page
The contents of a project are separated into Targets. Each target represents a platform on which the code will run, for instance, Real-Time modules, FPGA modules, or "My Computer" representing a Windows, Mac, or Linux OS.
Under each target three subdivisions are made:
- Code
- Dependencies
- Build specifications
Code
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
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 contain settings 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 Items
Project Items are individual items as they appear in the tree in the Project Explorer. Besides files for VIs, Libraries, and Classes; there are items for folders, targets, build specifications, etc. A complete list is shown below:
Folders
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 | Description |
|---|---|---|---|
| Virtual Folder | Folder | {D60740D6-F254-4BBC-5675-8858F35B820E} | |
| Auto Populating Folder | Folder | {D60740D6-F254-4BBC-5675-8858F35B820E} | |
| VI | VI | {D60740D6-F254-4BBC-5675-8858F35B810E} | |
| Control | VI | {D60740D6-F254-4BBC-5675-8858F35B810E} | |
| (Non-LabVIEW) file | Document | {D60740D6-F255-4BBC-5675-8858F35B820E} | |
| LLB-file | Folder | {D60740D6-F254-4BBC-5675-8858F35B820E} | |
| Lvlib file | Library | {ABC740D6-F254-4BBC-5675-8858F35B820E} | |
| LabVIEW class | LVClass | {EFD740D6-F254-4BBC-5675-8858F35B820E} | |
| Class datatype | Class Private Data | {64A9BF48-4C55-45DB-8F18-9C796DA0C113} | |
| LabVIEW XControl | XControl | {2E4BD3AC-4E04-45C9-B6C5-AD138962C435} | |
| XControl ability VI | Ability VI | {DAABD3DA-4F44-4C3D-8BA3-E5D035A4F27A} | |
| DAQmx Task | NI-DAQmx Task | {0A806145-1BF3-3A50-0B5E-F969F56C8E2A} | |
| DAQmx Virtual Channel | NI-DAQmx Channel | {B5F05770-7C71-3A03-C9FB-F73F35629FC1} | |
| DAQmx Scale | NI-DAQmx Scale | {BC977C97-1833-3D51-4EF6-D82E6838A8F3} | |
| Shared NetworkVariable | Variable | {9BA597C5-4996-4622-B9BB-444431834D0D} | |
| Hyperlink | Hyperlink | {CC472C20-0441-48DC-AF25-3E82ECC9376F} |
Files Page
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.
History
| Version | Change(s) |
|---|---|
| In LabVIEW 8.5, with the introduction of Auto-populating Folders, the Items and Files tabs were added. | |
| First introduced in LabVIEW 8. |
See Also
External Links
- Using LabVIEW Projects (NI LabVIEW 8.6 Help)
- Incompatibility of Auto-Populating folders and LabVIEW libraries
