Add File Method

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

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.

Example

Parameters

Data typeNameRequiredDescription
PathYesPath to the file you want to add.

Remarks

The following table lists the characteristics of this method.

Data type
Available in Run-Time EngineNo
Available in Real-Time Operating SystemNo
Settable when the VI is runningNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes

Example

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.

WAS THIS ARTICLE HELPFUL?

Not Helpful