Jump to content

ProjectItem: Difference between revisions

From LabVIEW Wiki
Dnatt (talk | contribs)
mNo edit summary
Dnatt (talk | contribs)
No edit summary
Line 35: Line 35:
| EXE || the Application (EXE) node under Build Specifications
| EXE || the Application (EXE) node under Build Specifications
|-
|-
| Elemental IO ||
| Elemental IO || IO Resource under an FPGA target
|-
|-
| FPGA Base Clock ||
| FPGA Base Clock || Base clock under an FPGA target
|-
|-
| FPGA Component Level IP ||
| FPGA Component Level IP || RIO DRAM
|-
|-
| FPGA Derived Clock ||
| FPGA Derived Clock || Derived clock under an FPGA target
|-
|-
| FPGA FIFO ||
| FPGA FIFO || FIFO node under an FPGA target
|-
|-
| FPGA Memory Block ||
| FPGA Memory Block || Memory node under an FPGA target
|-
|-
| FPGA Target ||
| FPGA Target || FPGA target (R-series device, cRIO target, etc.)
|-
|-
| Folder || A virtual folder or an auto-populating folder
| Folder || A virtual folder or an auto-populating folder
|-
|-
| HTTP WebResources Container ||
| HTTP WebResources Container || The Web Resources folder under a Web Service node
|-
|-
| IP Builder 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
Line 61: Line 61:
| Library || A LabVIEW project library
| Library || A LabVIEW project library
|-
|-
| Localhost ||
| Localhost || In some projects with a Real-Time target, the 'My Computer' target will have a type of 'Localhost' instead of 'My Computer'.
|-
|-
| LVStatechart || A LabVIEW StateChart Module library
| LVStatechart || A LabVIEW StateChart Module library
|-
|-
| Module Container ||
| Module Container || The Real-Time Scan Resources node under an RT Chassis
|-
|-
| My Computer || The My Computer node under the root Project
| My Computer || The My Computer node under the root Project
Line 73: Line 73:
| Project || The root project item at the top of the Project Explorer
| Project || The root project item at the top of the Project Explorer
|-
|-
| RIO C Series Module ||
| RIO C Series Module || A CompactRIO module that appears under the FPGA Target node under an RT CompactRIO Target
|-
|-
| RIO Subresource ||
| RIO Subresource || A resource under a RIO module. For example, an SD Card node.
|-
|-
| RT CompactRIO ||   
| RT CompactRIO ||  An RT CompactRIO Target
|-
|-
| RT Generic ||
| RT Generic || A generic RT Target
|-
|-
| RT PXI Chassis ||
| RT PXI Chassis || An RT PXI Target
|-
|-
| RT Single-Board RIO ||
| RT Single-Board RIO || An RT Single-Board RIO Target
|-
|-
| Robotics Environment Simulator || Simulated robot device
| Robotics Environment Simulator || Simulated robot device
|-
|-
| sbRIO Chassis ||
| 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 ||
| Startup VIs Container || The Startup VIs folder under a Web Service node
|-
|-
| TestItem ||
| TestItem || A .lvtest file from the Unit Test Framework
|-
|-
| TestVectorItem ||
| TestVectorItem || A .lvvect file from the Unit Test Framework
|-
|-
| TouchPanel ||
| TouchPanel || A Touch Panel target
|-
|-
| VI || A Virtual Instrument (VI)
| VI || A Virtual Instrument (VI)
|-
|-
| Variable ||
| Variable || A shared variable node under a library or a target
|-
|-
| Web Service ||
| Web Service || A Web Service node
|-
|-
| XControl || An XControl library
| XControl || An XControl library
Line 113: Line 113:
| .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} ||
| {69A947D5-514E-4E75-818E-69657C0547D8} || The Real-Time Application node under Build Specifications (under an RT Target)
|-
|-
| {9C5E1E31-72F0-41E9-9B17-FFBE4626F549} ||
| {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} ||
| {F4C5E96F-7410-48A5-BB87-3559BC9B167F} || The Compilation node under Build Specifications (under an FPGA target)
|}
|}


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

Revision as of 18:07, 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
Build the Build Specifications node under every target
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
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
Localhost In some projects with a Real-Time target, the 'My Computer' target will have a type of 'Localhost' instead of 'My Computer'.
LVStatechart A LabVIEW StateChart Module library
Module Container The Real-Time Scan Resources node under an RT Chassis
My Computer The My Computer node under the root Project
Packed Library A packed project library (PPL)
Project The root project item at the top of the Project Explorer
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)