ProjectItem class/Add File method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 35B53800
Scope Basic Development Environment
Data Name AddFile
Short Name* AddFile
Long Name* Add File
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 74
Owning Class Name ProjectItem Class
Return Data Type ProjectItem Refnum data type

ProjectItem Refnum

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

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

Data type Name Required Description
ProjectItem Refnum Add File Yes. Return value.
Path Path Yes Path to the file you want to add.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links