Jump to content

Project Explorer: Difference between revisions

From LabVIEW Wiki
Removed redirect. Separating page from LabVIEW Project
Tag: Removed redirect
Working
Line 1: Line 1:
{{underconstruction}}
{{underconstruction}}[[Image:Project Explorer.png|frame|thumbnail|The Project Explorer]]{{TOCright}}
The '''Project Explorer''' window is the window to view and edit [[LabVIEW Project]] files (''[[LVPROJ File Extension|*.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''' window is the window to view and edit [[LabVIEW Project]] files (''[[LVPROJ File Extension|*.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.
[[Image:Project Explorer.png|frame|center|550px|The Project Explorer]]
== Contents  ==


The contents of a project are separated into ''Targets''. Each target represent a platform on which the code will run, for instance, Real-Time modules, FPGA, or "My Computer" representing a Windows, Mac, or Linux OS.
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:
Under each target three subdivisions are made:
Line 22: Line 28:
=== Build specifications  ===
=== 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.
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.
These builds can be included in an installer.


=== Project Item<br> ===
== 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<br> ====


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''.&nbsp;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 link|cross-links]].'''<br>'''
=== Folders ===


<br>
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''.&nbsp;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 link|cross-links]].''''''


==== GUID Index<br>  ====
=== GUID Index ===


For any Project Item a Type string and GUID string can be obtained using VI server. The following table lists the GUID&nbsp;for several Project Item types.<br>
For any Project Item, a Type string and GUID string can be obtained using VI server. The following table lists the GUID&nbsp;for several Project Item types.


{| cellspacing="1" cellpadding="1" border="1" style="width: 551px; height: 103px;"
{| class="wikitable"
|-
|-
! scope="col" | Item type<br>
! Item type
! scope="col" | Type String<br>
! Type String
! scope="col" | GUID&nbsp;String<br>
! GUID&nbsp;String
! Description
|-
|-
| Virtual Folder<br>
| Virtual Folder
| Folder<br>
| Folder
| {D60740D6-F254-4BBC-5675-8858F35B820E}<br>
| {D60740D6-F254-4BBC-5675-8858F35B820E}
|
|-
|-
| Auto Populating Folder<br>
| Auto Populating Folder
| Folder<br>
| Folder
| {D60740D6-F254-4BBC-5675-8858F35B820E}<br>
| {D60740D6-F254-4BBC-5675-8858F35B820E}
|-
|-
| VI<br>
| VI
| VI<br>
| VI
| {D60740D6-F254-4BBC-5675-8858F35B810E}<br>
| {D60740D6-F254-4BBC-5675-8858F35B810E}
|-
|-
| Control<br>
| Control
| VI<br>
| VI
| {D60740D6-F254-4BBC-5675-8858F35B810E}<br>
| {D60740D6-F254-4BBC-5675-8858F35B810E}
|-
|-
| (Non-LabVIEW) file<br>
| (Non-LabVIEW) file
| Document<br>
| Document
| {D60740D6-F255-4BBC-5675-8858F35B820E}<br>
| {D60740D6-F255-4BBC-5675-8858F35B820E}
|-
|-
| LLB-file<br>
| LLB-file
| Folder<br>
| Folder
| {D60740D6-F254-4BBC-5675-8858F35B820E}<br>
| {D60740D6-F254-4BBC-5675-8858F35B820E}
|-
|-
| Lvlib file<br>
| Lvlib file
| Library<br>
| Library
| {ABC740D6-F254-4BBC-5675-8858F35B820E}<br>
| {ABC740D6-F254-4BBC-5675-8858F35B820E}
|-
|-
| LabVIEW class<br>
| LabVIEW class
| LVClass<br>
| LVClass
| {EFD740D6-F254-4BBC-5675-8858F35B820E}<br>
| {EFD740D6-F254-4BBC-5675-8858F35B820E}
|-
|-
| Class datatype<br>
| Class datatype
| Class Private Data<br>
| Class Private Data
| {64A9BF48-4C55-45DB-8F18-9C796DA0C113}<br>
| {64A9BF48-4C55-45DB-8F18-9C796DA0C113}
|-
|-
| LabVIEW&nbsp;XControl<br>
| LabVIEW&nbsp;XControl
| XControl<br>
| XControl
| {2E4BD3AC-4E04-45C9-B6C5-AD138962C435}<br>
| {2E4BD3AC-4E04-45C9-B6C5-AD138962C435}
|-
|-
| XControl ability VI<br>
| XControl ability VI
| Ability VI<br>
| Ability VI
| {DAABD3DA-4F44-4C3D-8BA3-E5D035A4F27A}<br>
| {DAABD3DA-4F44-4C3D-8BA3-E5D035A4F27A}
|-
|-
| DAQmx Task<br>
| DAQmx Task
| NI-DAQmx Task<br>
| NI-DAQmx Task
| {0A806145-1BF3-3A50-0B5E-F969F56C8E2A}<br>
| {0A806145-1BF3-3A50-0B5E-F969F56C8E2A}
|-
|-
| DAQmx Virtual Channel<br>
| DAQmx Virtual Channel
| NI-DAQmx Channel<br>
| NI-DAQmx Channel
| {B5F05770-7C71-3A03-C9FB-F73F35629FC1}<br>
| {B5F05770-7C71-3A03-C9FB-F73F35629FC1}
|-
|-
| DAQmx Scale<br>
| DAQmx Scale
| NI-DAQmx Scale<br>
| NI-DAQmx Scale
| {BC977C97-1833-3D51-4EF6-D82E6838A8F3}<br>
| {BC977C97-1833-3D51-4EF6-D82E6838A8F3}
|-
|-
| Shared NetworkVariable<br>
| Shared NetworkVariable
| Variable<br>
| Variable
| {9BA597C5-4996-4622-B9BB-444431834D0D}<br>
| {9BA597C5-4996-4622-B9BB-444431834D0D}
|-
|-
| Hyperlink<br>
| Hyperlink
| Hyperlink<br>
| Hyperlink
| {CC472C20-0441-48DC-AF25-3E82ECC9376F}<br>
| {CC472C20-0441-48DC-AF25-3E82ECC9376F}
|}
|}


<br>
== Files Page ==


<br>


== Tips and tricks ==
== Tips and tricks ==
* Select '''Arrange By''' from the right-click menu of a folder to choose between different sorting options.
* 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.
* Drop any file into the '''Project Explorer''' to add it to the project. This also works for multiple files and folders.
== History ==
{| class="wikitable"
! Version
! Change(s)
|-
|[[File:LV8-2013.png|frameless|border|64x64px|LabVIEW 8.5|link=LabVIEW 8.5]]
| In [[LabVIEW 8.5]], with the introduction of ''Auto-populating Folders'', the '''Items''' and '''Files''' tabs were added.
|-
|[[File:LV8-2013.png|frameless|border|64x64px|LabVIEW 8|link=LabVIEW 8]]
| First introduced in [[LabVIEW 8]].
|}
== See Also ==
* [[LabVIEW Project]]
* [[FPGA]]
* [[Real-time]]


== External Links  ==
== External Links  ==


*[http://zone.ni.com/reference/en-XX/help/371361E-01/lvconcepts/using_labview_projects/ Using LabVIEW Projects] (NI LabVIEW 8.6 Help)  
*[http://zone.ni.com/reference/en-XX/help/371361E-01/lvconcepts/using_labview_projects/ Using LabVIEW Projects] (NI LabVIEW 8.6 Help)  
*[http://forums.lavag.org/False-linking-of-VIs-to-svn-folder-t12757.html# Incompatibility of Auto-Populating folders and LabVIEW libraries]<br>
*[http://forums.lavag.org/False-linking-of-VIs-to-svn-folder-t12757.html# Incompatibility of Auto-Populating folders and LabVIEW libraries]

Revision as of 18:08, 7 June 2020

The Project Explorer

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:

  1. Code
  2. Dependencies
  3. 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)
LabVIEW 8.5 In LabVIEW 8.5, with the introduction of Auto-populating Folders, the Items and Files tabs were added.
LabVIEW 8 First introduced in LabVIEW 8.

See Also

External Links