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:
! Type String !! Description
! Type String !! Description
|-
|-
| Ability VI || An Ability VI within an XControl or XNode
| Ability VI || Ability VI within an XControl or XNode
|-
|-
| Build || The Build Specifications node under every target
| Build || Build Specifications node under every target
|-
|-
| Class Private Data || The Private Data Control inside a LabVIEW Class
| Class Private Data || 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 || 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 || 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.
Line 37: Line 37:
| ECATMaster || EtherCAT master device
| ECATMaster || EtherCAT master device
|-
|-
| EXE || The Application (EXE) node under Build Specifications
| EXE || Application (EXE) node under Build Specifications
|-
|-
| Elemental IO || IO Resource under an FPGA target  
| Elemental IO || IO Resource under an FPGA target  
Line 53: Line 53:
| FPGA Target || FPGA target (R-series device, cRIO target, etc.)  
| FPGA Target || FPGA target (R-series device, cRIO target, etc.)  
|-
|-
| Folder || A virtual folder or an auto-populating folder
| Folder || Virtual folder or an auto-populating folder
|-
|-
| HTTP WebResources Container || The Web Resources folder under a Web Service node
| HTTP WebResources Container || Web Resources folder under a Web Service node
|-
|-
| IO Server || An I/O Server node under a target
| IO Server || I/O Server node under a target
|-
|-
| 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 || Installer node under Build Specifications
|-
|-
| LVClass || A LabVIEW class
| LVClass || LabVIEW class
|-
|-
| Library || A LabVIEW project library
| Library || LabVIEW project library
|-
|-
| LibraryData || A hidden ProjectItem that contains internal information about an LVStatechart library
| LibraryData || 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'.  
| 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)
| LVLibp || Packed Project Library (PPL)
|-
|-
| LVStatechart || A LabVIEW StateChart Module library
| LVStatechart || LabVIEW StateChart Module library
|-
|-
| LVStatechartVIItem || A hidden ProjectItem that contains internal information about an LVStatechart library
| LVStatechartVIItem || Hidden ProjectItem that contains internal information about an LVStatechart library
|-
|-
| Method VI || A Method VI in an XControl  
| Method VI || Method VI in an XControl  
|-
|-
| Module Container || The Real-Time Scan Resources node under an RT Chassis  
| Module Container || Real-Time Scan Resources node under an RT Chassis  
|-
|-
| My Computer || The My Computer node under the root Project
| My Computer || My Computer node under the root Project
|-
|-
| Packed Library || The Packed Library node under Build Specifications
| Packed Library || Packed Library node under Build Specifications
|-
|-
| Project || The root project item at the top of the Project Explorer
| Project || Root project item at the top of the Project Explorer
|-
|-
| Property Definition || A property definition folder under a LabVIEW Class
| Property Definition || Property definition folder under a LabVIEW Class
|-
|-
| Property Folder || A property folder in an XControl
| Property Folder || Property folder in an XControl
|-
|-
| Property VI || A property VI in an XControl
| Property VI || 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 C Series Module || 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.  
| RIO Subresource || Resource under a RIO module. For example, an SD Card node.  
|-
|-
| RT CompactRIO ||  An RT CompactRIO Target
| RT CompactRIO ||  RT CompactRIO Target
|-
|-
| RT Generic || A generic RT Target  
| RT Generic || Generic RT Target  
|-
|-
| RT PXI Chassis || An RT PXI Target  
| RT PXI Chassis || RT PXI Target  
|-
|-
| RT Single-Board RIO || An RT Single-Board RIO Target  
| RT Single-Board RIO || RT Single-Board RIO Target  
|-
|-
| Robotics Environment Simulator || Simulated robot device
| Robotics Environment Simulator || Simulated robot device
|-
|-
| sbRIO Chassis || An sbRIO Chassis that appears under an RT Single-Board RIO target  
| sbRIO Chassis || Single-Board RIO Chassis that appears under an RT Single-Board RIO target  
|-
|-
| Source Distribution || The Source Distribution node under Build Specifications
| Source Distribution || Source Distribution node under Build Specifications
|-
|-
| Startup VIs Container || The Startup VIs folder under a Web Service node  
| Startup VIs Container || Startup VIs folder under a Web Service node  
|-
|-
| TestItem || A .lvtest file from the Unit Test Framework  
| TestItem || Test file (.lvtest) from the Unit Test Framework  
|-
|-
| TestVectorItem || A .lvvect file from the Unit Test Framework  
| TestVectorItem || Test vector file (.lvvect) from the Unit Test Framework  
|-
|-
| TouchPanel || A Touch Panel target
| TouchPanel || Touch Panel target
|-
|-
| VI || A Virtual Instrument (VI)
| VI || Virtual Instrument (VI)
|-
|-
| Variable || A shared variable node under a library or a target
| Variable || Shared Variable node under a library or a target
|-
|-
| Web Service || A Web Service node  
| Web Service || Web Service node  
|-
|-
| XControl || An XControl library
| XControl || XControl library
|-
|-
| XNode || An XNode library
| XNode || XNode library
|-
|-
| Zip File || The Zip File node under Build Specifications
| Zip File || Zip File node under Build Specifications
|-
|-
| .NET Interop Assembly || The .NET Interop Assembly node under Build Specifications
| .NET Interop Assembly || .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} || 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)
| {9C5E1E31-72F0-41E9-9B17-FFBE4626F549} || 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} || 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} || Compilation node under Build Specifications (under an FPGA target)  
|}
|}


[[Category:VI Scripting]]
[[Category:VI Scripting]]

Revision as of 19:09, 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 Type String property (short name is TypeString) 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 Type String values and their descriptions. Update this table with new type strings as you discover them.

Type String Description
Ability VI Ability VI within an XControl or XNode
Build Build Specifications node under every target
Class Private Data Private Data Control inside a LabVIEW Class
cRIO Chassis RT CompactRIO Target
Dependencies Dependencies node under every target
Directives Directives items created for VIs by FPGA IP Builder
DLL 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 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 Virtual folder or an auto-populating folder
HTTP WebResources Container Web Resources folder under a Web Service node
IO Server I/O Server node under a target
IP Builder Target IP Builder node under an FPGA target
Installer Installer node under Build Specifications
LVClass LabVIEW class
Library LabVIEW project library
LibraryData 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 Packed Project Library (PPL)
LVStatechart LabVIEW StateChart Module library
LVStatechartVIItem Hidden ProjectItem that contains internal information about an LVStatechart library
Method VI Method VI in an XControl
Module Container Real-Time Scan Resources node under an RT Chassis
My Computer My Computer node under the root Project
Packed Library Packed Library node under Build Specifications
Project Root project item at the top of the Project Explorer
Property Definition Property definition folder under a LabVIEW Class
Property Folder Property folder in an XControl
Property VI Property VI in an XControl
RIO C Series Module CompactRIO module that appears under the FPGA Target node under an RT CompactRIO Target
RIO Subresource Resource under a RIO module. For example, an SD Card node.
RT CompactRIO RT CompactRIO Target
RT Generic Generic RT Target
RT PXI Chassis RT PXI Target
RT Single-Board RIO RT Single-Board RIO Target
Robotics Environment Simulator Simulated robot device
sbRIO Chassis Single-Board RIO Chassis that appears under an RT Single-Board RIO target
Source Distribution Source Distribution node under Build Specifications
Startup VIs Container Startup VIs folder under a Web Service node
TestItem Test file (.lvtest) from the Unit Test Framework
TestVectorItem Test vector file (.lvvect) from the Unit Test Framework
TouchPanel Touch Panel target
VI Virtual Instrument (VI)
Variable Shared Variable node under a library or a target
Web Service Web Service node
XControl XControl library
XNode XNode library
Zip File Zip File node under Build Specifications
.NET Interop Assembly .NET Interop Assembly node under Build Specifications
{69A947D5-514E-4E75-818E-69657C0547D8} Real-Time Application node under Build Specifications (under an RT Target)
{9C5E1E31-72F0-41E9-9B17-FFBE4626F549} IP Build node under Build Specifications (under an IP Builder target)
{E661DAE2-7517-431F-AC41-30807A3BDA38} Package node under Build Specifications
{F4C5E96F-7410-48A5-BB87-3559BC9B167F} Compilation node under Build Specifications (under an FPGA target)