CVIModule.GetModulePathFromProject

Syntax

CVIModule.GetModulePathFromProject( projectPathParam, options, modulePathParam)

Return Value

Boolean

Returns True upon success. Otherwise, returns False .

Purpose

Returns the absolute path of the code module built by the specified LabWindows/CVI project.

Remarks

This method requires LabWindows/CVI 2017 SP1 or later.

Parameters

projectPathParam As String

[In] The absolute path of the LabWindows/CVI project ( .prj ) file.

options As Long

[In] Specifies GetModuleFromProjectOptions :

  • GetModuleFromProjectOption_NoOptions –(Value: 0x0) No options.
  • GetModuleFromProjectOption_NoPrompts –(Value: 0x1) Suppress prompts.

modulePathParam As String

[Out] The absolute path of the target file (usually a DLL) for the specified project.

See Also

CVIModule.AllowProjectFileWhenSelectingModule

CVIModule.GetProjectFilePathFromDll

CVIModule.GetSourceFilePathFromDll