Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Add File Method

LabVIEW 2009 Help

Edition Date: June 2009

Part Number: 371361F-01

»View Product Info

Short Name: AddFile

Requires: Base Package

Class: ProjectItem Methods

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
outputNoReturns a reference to the added file.

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 disallowedNo
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo

Example

Refer to the Add Files to Project VI in the labview\examples\project\viserver directory for an example of using the Add File method.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit