Jump to content

ProjectItem: Difference between revisions

From LabVIEW Wiki
Dnatt (talk | contribs)
Created page with "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 y..."
 
Dnatt (talk | contribs)
mNo edit summary
Line 17: Line 17:
| Build || the Build Specifications node under every target
| Build || the Build Specifications node under every target
|-
|-
| cRIO Chassis ||
| cRIO Chassis || RT CompactRIO Target
|-
|-
| Dependencies || the Dependencies node under every target
| Dependencies || the Dependencies node under every target
|-
|-
| Directives ||
| 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  
Line 27: Line 27:
| Document || non-LabVIEW files, like images, text files, etc.
| Document || non-LabVIEW files, like images, text files, etc.
|-
|-
| ECATEbusSlave ||
| ECATEbusSlave || EtherCAT slave device
|-
|-
| ECATEnetSlave ||
| ECATEnetSlave || EtherCAT slave device
|-
|-
| ECATMaster ||
| ECATMaster || EtherCAT master device
|-
|-
| EXE || the Application (EXE) node under Build Specifications
| EXE || the Application (EXE) node under Build Specifications
Line 85: Line 85:
| RT Single-Board RIO ||   
| RT Single-Board RIO ||   
|-
|-
| Robotics Environment Simulator ||
| Robotics Environment Simulator || Simulated robot device
|-
|-
| sbRIO Chassis ||   
| sbRIO Chassis ||   

Revision as of 23:17, 31 May 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
FPGA Base Clock
FPGA Component Level IP
FPGA Derived Clock
FPGA FIFO
FPGA Memory Block
FPGA Target
Folder A virtual folder or an auto-populating folder
HTTP WebResources Container
IP Builder Target
Installer the Installer node under Build Specifications
LVClass A LabVIEW class
Library A LabVIEW project library
Localhost
LVStatechart A LabVIEW StateChart Module library
Module Container
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
RIO Subresource
RT CompactRIO
RT Generic
RT PXI Chassis
RT Single-Board RIO
Robotics Environment Simulator Simulated robot device
sbRIO Chassis
Source Distribution the Source Distribution node under Build Specifications
Startup VIs Container
TestItem
TestVectorItem
TouchPanel
VI A Virtual Instrument (VI)
Variable
Web Service
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}
{9C5E1E31-72F0-41E9-9B17-FFBE4626F549}
{E661DAE2-7517-431F-AC41-30807A3BDA38} the Package node under Build Specifications
{F4C5E96F-7410-48A5-BB87-3559BC9B167F}