Jump to content

ProjectItem: Difference between revisions

From LabVIEW Wiki
Dnatt (talk | contribs)
No edit summary
Dnatt (talk | contribs)
No edit summary
Line 15: Line 15:
! TypeString !! Description
! TypeString !! Description
|-
|-
| Ability VI || an Ability VI within an XControl or XNode
| Ability VI || An Ability VI within an XControl or XNode
|-
|-
| Build || the Build Specifications node under every target
| Build || The Build Specifications node under every target
|-
|-
| Class Private Data || the Private Data Control inside a LabVIEW Class
| Class Private Data || The Private Data Control inside a LabVIEW Class
|-
|-
| cRIO Chassis || RT CompactRIO Target  
| cRIO Chassis || RT CompactRIO Target  
|-
|-
| Dependencies || the Dependencies node under every target
| Dependencies || The Dependencies node under every target
|-
|-
| Directives || Directives items created for VIs by FPGA IP Builder  
| Directives || Directives items created for VIs by FPGA IP Builder  
|-
|-
| DLL || the Shared Library (DLL) node under Build Specifications  
| DLL || The Shared Library (DLL) node under Build Specifications  
|-
|-
| Document || non-LabVIEW files, like images, text files, etc.
| Document || Non-LabVIEW files, like images, text files, etc.
|-
|-
| ECATEbusSlave || EtherCAT slave device  
| ECATEbusSlave || EtherCAT slave device  
Line 37: Line 37:
| ECATMaster || EtherCAT master device
| ECATMaster || EtherCAT master device
|-
|-
| EXE || the Application (EXE) node under Build Specifications
| EXE || The Application (EXE) node under Build Specifications
|-
|-
| Elemental IO || IO Resource under an FPGA target  
| Elemental IO || IO Resource under an FPGA target  
Line 61: Line 61:
| IP Builder Target || IP Builder node under an FPGA target  
| IP Builder Target || IP Builder node under an FPGA target  
|-
|-
| Installer || the Installer node under Build Specifications
| Installer || The Installer node under Build Specifications
|-
|-
| LVClass || A LabVIEW class
| LVClass || A LabVIEW class
Line 70: Line 70:
|-
|-
| Localhost || In some projects with a Real-Time target, the 'My Computer' target will have a type of 'Localhost' instead of 'My Computer'.  
| Localhost || In some projects with a Real-Time target, the 'My Computer' target will have a type of 'Localhost' instead of 'My Computer'.  
|-
| LVLibp || A packed project library (PPL)
|-
|-
| LVStatechart || A LabVIEW StateChart Module library
| LVStatechart || A LabVIEW StateChart Module library
Line 81: Line 83:
| My Computer || The My Computer node under the root Project
| My Computer || The My Computer node under the root Project
|-
|-
| Packed Library || A packed project library (PPL)
| Packed Library || The Packed Library node under Build Specifications
|-
|-
| Project || The root project item at the top of the Project Explorer
| Project || The root project item at the top of the Project Explorer
Line 107: Line 109:
| sbRIO Chassis || An sbRIO Chassis that appears under an RT Single-Board RIO target  
| sbRIO Chassis || An sbRIO Chassis that appears under an RT Single-Board RIO target  
|-
|-
| Source Distribution || the Source Distribution node under Build Specifications
| Source Distribution || The Source Distribution node under Build Specifications
|-
|-
| Startup VIs Container || The Startup VIs folder under a Web Service node  
| Startup VIs Container || The Startup VIs folder under a Web Service node  
Line 127: Line 129:
| XNode || An XNode library
| XNode || An XNode library
|-
|-
| Zip File || the Zip File node under Build Specifications
| Zip File || The Zip File node under Build Specifications
|-
|-
| .NET Interop Assembly || the .NET Interop Assembly node under Build Specifications
| .NET Interop Assembly || The .NET Interop Assembly node under Build Specifications
|-
|-
| {69A947D5-514E-4E75-818E-69657C0547D8} || The Real-Time Application node under Build Specifications (under an RT Target)  
| {69A947D5-514E-4E75-818E-69657C0547D8} || The Real-Time Application node under Build Specifications (under an RT Target)  
Line 135: Line 137:
| {9C5E1E31-72F0-41E9-9B17-FFBE4626F549} || The IP Build node under Build Specifications (under an IP Builder target)
| {9C5E1E31-72F0-41E9-9B17-FFBE4626F549} || The IP Build node under Build Specifications (under an IP Builder target)
|-
|-
| {E661DAE2-7517-431F-AC41-30807A3BDA38} || the Package node under Build Specifications
| {E661DAE2-7517-431F-AC41-30807A3BDA38} || The Package node under Build Specifications
|-
|-
| {F4C5E96F-7410-48A5-BB87-3559BC9B167F} || The Compilation node under Build Specifications (under an FPGA target)  
| {F4C5E96F-7410-48A5-BB87-3559BC9B167F} || The Compilation node under Build Specifications (under an FPGA target)  

Revision as of 19:05, 3 June 2019

The ProjectItem class in VI Server allows you to inspect and modify items that appear in the Project window, such as VIs, virtual folders, classes, libraries, etc.

If you have a reference to a ProjectItem, you can read the TypeString property of the item to identify what kind of item it is:

This is the same string you can use for the Type parameter of the Get All Descendents method of the ProjectItem class to get all children of a ProjectItem that match a specific type:

The following table lists valid TypeString values and their descriptions. Update this table with new type strings as you discover them.

TypeString Description
Ability VI An Ability VI within an XControl or XNode
Build The Build Specifications node under every target
Class Private Data The Private Data Control inside a LabVIEW Class
cRIO Chassis RT CompactRIO Target
Dependencies The Dependencies node under every target
Directives Directives items created for VIs by FPGA IP Builder
DLL The Shared Library (DLL) node under Build Specifications
Document Non-LabVIEW files, like images, text files, etc.
ECATEbusSlave EtherCAT slave device
ECATEnetSlave EtherCAT slave device
ECATMaster EtherCAT master device
EXE The Application (EXE) node under Build Specifications
Elemental IO IO Resource under an FPGA target
FPGA Base Clock Base clock under an FPGA target
FPGA Component Level IP RIO DRAM
FPGA Derived Clock Derived clock under an FPGA target
FPGA FIFO FIFO node under an FPGA target
FPGA Memory Block Memory node under an FPGA target
FPGA Target FPGA target (R-series device, cRIO target, etc.)
Folder A virtual folder or an auto-populating folder
HTTP WebResources Container The Web Resources folder under a Web Service node
IO Server An I/O Server node under a target
IP Builder Target IP Builder node under an FPGA target
Installer The Installer node under Build Specifications
LVClass A LabVIEW class
Library A LabVIEW project library
LibraryData A hidden ProjectItem that contains internal information about an LVStatechart library
Localhost In some projects with a Real-Time target, the 'My Computer' target will have a type of 'Localhost' instead of 'My Computer'.
LVLibp A packed project library (PPL)
LVStatechart A LabVIEW StateChart Module library
LVStatechartVIItem A hidden ProjectItem that contains internal information about an LVStatechart library
Method VI A Method VI in an XControl
Module Container The Real-Time Scan Resources node under an RT Chassis
My Computer The My Computer node under the root Project
Packed Library The Packed Library node under Build Specifications
Project The root project item at the top of the Project Explorer
Property Definition A property definition folder under a LabVIEW Class
Property Folder A property folder in an XControl
Property VI A property VI in an XControl
RIO C Series Module A CompactRIO module that appears under the FPGA Target node under an RT CompactRIO Target
RIO Subresource A resource under a RIO module. For example, an SD Card node.
RT CompactRIO An RT CompactRIO Target
RT Generic A generic RT Target
RT PXI Chassis An RT PXI Target
RT Single-Board RIO An RT Single-Board RIO Target
Robotics Environment Simulator Simulated robot device
sbRIO Chassis An sbRIO Chassis that appears under an RT Single-Board RIO target
Source Distribution The Source Distribution node under Build Specifications
Startup VIs Container The Startup VIs folder under a Web Service node
TestItem A .lvtest file from the Unit Test Framework
TestVectorItem A .lvvect file from the Unit Test Framework
TouchPanel A Touch Panel target
VI A Virtual Instrument (VI)
Variable A shared variable node under a library or a target
Web Service A Web Service node
XControl An XControl library
XNode An XNode library
Zip File The Zip File node under Build Specifications
.NET Interop Assembly The .NET Interop Assembly node under Build Specifications
{69A947D5-514E-4E75-818E-69657C0547D8} The Real-Time Application node under Build Specifications (under an RT Target)
{9C5E1E31-72F0-41E9-9B17-FFBE4626F549} The IP Build node under Build Specifications (under an IP Builder target)
{E661DAE2-7517-431F-AC41-30807A3BDA38} The Package node under Build Specifications
{F4C5E96F-7410-48A5-BB87-3559BC9B167F} The Compilation node under Build Specifications (under an FPGA target)