LabVIEWModule.ImportVI

Syntax

LabVIEWModule.ImportVI( pathString, type = ImportVIType_ExpressVIWrapper, options = 0)

Purpose

Imports a VI from a file into the module. Use this function to configure a LabVIEW step to call an Express VI from a template or from a wrapper VI generated by a previous call to the LabVIEWModule.ExportVI method. You can also use this function to configure a LabVIEW step to call a LabVIEW Property Node wrapper VI generated by a previous call to the LabVIEWModule.ExportVI method.

Remarks

To export the VI, call the LabVIEWModule.ExportVI method.

Parameters

pathString As String

[In] Specifies the pathname of the file to import into the module. Pass an empty path to remove an imported VI from the module.

type As ImportVITypes

[In] Specifies the type of VI to import.

This parameter has a default value of ImportVIType_ExpressVIWrapper .

options As Long

[In] Specifies one or more ImportVIOptions constants. Use the bitwise-OR operator to specify multiple flags.

This parameter has a default value of 0 .

See Also

ImportVIOptions

ImportVITypes

LabVIEWModule.ExportVI