Short Name: AddFile
Requires: Base Development System
Class: ProjectItem Methods
To Use: Create a method.
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.
![]() | Note The LabVIEW Datalogging and Supervisory Control Module supports this method in the Run-Time Engine. |
| Data type | Name | Required | Description |
|---|---|---|---|
![]() | Path | Yes | Path to the file you want to add. |
The following table lists the characteristics of this method.
| Data type | ![]() |
| Available in Run-Time Engine | No |
| Available in 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 allowed | Yes |
Refer to the Add Files to Project VI in the labview\examples\Application Control\VI Server\Manipulating Projects directory for an example of using the Add File method.