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.

Parameters

Name Data type Required Description
Path cpath.png Yes

Path to the file you want to add.

Remarks

The following table lists the characteristics of this method.

Short Name AddFile
Data type cprjitrn.png
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

Examples

Refer to the following example files included with LabVIEW.

  • labview\examples\Application Control\VI Server\Manipulating Projects\Add Files to Project.vi