Method of ProjectItem.
Adds a file at the specified path to the LabVIEW project with the referenced project item as the parent. You also can use the Project Explorer window to add a file to a project.
s">Example
Parameters
| Name | Description |
| output | Returns a reference to the added file.
|
| Path | Path to the file you want to add.
|
Remarks
The following table lists the characteristics of this method.
| Available in Run-Time Engine and Real-Time Operating System | No |
| Settable when the VI is running | No |
| Loads the front panel into memory | No |
| Need to authenticate before use | No |
| Loads the block diagram into memory | No |
| Remote access disallowed | No |
| Must wait until user interface is idle | No |
| Available with control VIs | No |
| Available with global VIs | No |
| Available with strict type definitions | No |
| Available with polymorphic VIs | No |
Refer to the Add Files to Project VI in the labview\examples\project\viserver directory for an example of using the Add File method.
Resources
|