ProjectItem class/Add Item method
VI Server Method Information | |
---|---|
Method ID | 35B53801 |
Scope | Basic Development Environment |
Data Name | AddItem |
Short Name* | AddItem |
Long Name* | Add Item |
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE. | |
Owning Class ID | 74 |
Owning Class Name | ProjectItem Class |
Return Data Type | ProjectItem Refnum data type |
Invoke Node | |
Available in Real-Time Operating System | No |
Available in Run-Time Engine | No |
Loads the block diagram into memory | No |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Remote access allowed | Yes |
Settable when the VI is running | No |
Adds a new project item of the specified type to the LabVIEW project with the referenced item as the parent. You also can use the Project Explorer window to add an item to a project.
This method returns an error if the specified type cannot be created under the current item. The method also returns an error when you try to add a shared variable to a library that is not opened in a project.
Note The LabVIEW Datalogging and Supervisory Control Module supports this method in the Run-Time Engine. |
Parameters
Data type | Name | Required | Description |
---|---|---|---|
Add Item | Yes. Return value. | ||
Name | Yes | Description | |
Path | Yes | Path to the project item you want to add. | |
Type | Yes | Specifies the project item type. |
Uses
Specific use cases for this method. |
History
History information is needed. What changes have occurred over previous versions? |
Version | Change(s) |
---|---|
More info to come. |
See Also
Add links to internal wiki pages that would also help. |
External Links
Add links to external resources that would also help. |