LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically applying VIPC containing System type package as dependency

Hi All,

 

I have a VI that will apply VIPC to LabVIEW version 2012 and build a package programmatically using VIPM APIs. The VIPC file has System type package as a dependency. While running this VI I could VIPC is being applied on the VIPM window, but on the "Build VIPB Spec" API I'm getting following error,

Error code: 42

Error Description: 

Error 42 occurred at VIPM API_vipm_api.lvlib:Parse Build Return Message_vipm_api.vi

Possible reason(s):

Code:: 42
Source:: (VI Package Configuration needs to be applied in order to install all the package's dependencies, prior to the build.) VIPB_API.BuildAndPackageLibraryFromSpec[Private].vi:6610001 in 98571EFF2AA0ADF4D5C29D9A28BC074C->VIPB_API.BuildAndPackageLibrary.vi->VIPM API.lvlib:5500F8FDFD770D26AA5F463B75D80B10->D7145F3E81D597F133B4B0987C3A6863->VIPM Main Window.vi

 

When I remove the System type dependency package from VIPC and run, I am not getting this error and the package is building fine. Also while building package manually using VIPM UI I was not observing this error

 

Wondering how to resolve this issue.

0 Kudos
Message 1 of 1
(2,274 Views)