LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot remove or replace a library from a project

Solved!
Go to solution

Hello

 

I have to make changes to an existing LabVIEW project.

When I load the project, I have 2 libraries that are (not loaded). I am unable to remove or replace these libraries. I am not sure how to correct this issue as the functions are needed in the program and i am not able to rebuild a new executable. Please look at attached screenshot. SEB2new.lvlibp WUTF_K-Line_UHW2.lvlibp

The existing project was written, I think in 2016. I am using 2020

 

Thank you in Advance

 

Lee

0 Kudos
Message 1 of 9
(1,217 Views)

Hi Lee,

 

These are packed libraries (.lvlibp), which means they were compiled for a specific version of LV (surely 2016). This may be why LV 2020 cannot load them.

 

So you must find the original source files of these libraries (.lvlib + all member VIs) and recompile them with LV 2020.

 

There is an option in the build specification of packed libraries called "Allow future versions of LV to load this packed library" that can prevent this problem (but this has to be configured before building).

 

Regards,

Raphaël.

Message 2 of 9
(1,205 Views)

Hello Raphael

Thank you for your reply.
I have contacted the provider of the packed libraries and hopefully they can help with this.
When/If they can provide the new library, how do I replace in the project, as currently it is not allowing me to replace or even delete?

 

0 Kudos
Message 3 of 9
(1,179 Views)

Close LabVIEW, replace the old .lvlibp files with the new ones compiled for LV2020 (ensure they have the same name as the old ones).

Reopen LabVIEW and your project, it should load the new libraries without even noticing (or maybe there will be a warning dialog the first time...).

0 Kudos
Message 4 of 9
(1,171 Views)

Thank you again. Once I have received the new files I will, I hope, replace and all will be well.

0 Kudos
Message 5 of 9
(1,163 Views)

Hello

 

I eventually had a reply from the suppliers of the packed library. They sent me a new version but I am still unable to open and I get the same error message. Cant loaded from a previous version of LabVIEW.
Are you able to open, to ensure I am not doing anything wrong, I have attached.

 

Thank you

 

Lee

0 Kudos
Message 6 of 9
(1,080 Views)

@LeeBowers1 wrote:

Cant load from a previous version of LabVIEW.


Then it is pretty obvious that your new lvlibp was recompiled by a version that is too recent compared to the one you are using (LV2020).

 

Ask your supplier to compile it in a version that is inferior or equal to the one you are using, and ask him to check the mark "Allow future versions to load this packed library" before compiling.

 

Regards,

Raphaël.

0 Kudos
Message 7 of 9
(1,053 Views)
Solution
Accepted by LeeBowers1

@LeeBowers1 wrote:

I eventually had a reply from the suppliers of the packed library. They sent me a new version but I am still unable to open and I get the same error message. Cant loaded from a previous version of LabVIEW.


There are a few things happening here that could be a problem.  First, PPLs are compiled for a specific version of LabVIEW and the corresponding run-time engine.  Starting with LabVIEW 2017, there is the option to be compatible with newer run-time engines.  So if you are getting that error, then you either got a PPL that was compiled with 2016 again or it was compiled with a newer version without the "Allow future versions of LabVIEW to load this packed library" option (in the Advanced category of the build specification) enabled.

 

EDIT: I just reread the last few posts...The new PPL was created with a version newer than LabVIEW 2020.  If I had to guess, it would be LabVIEW 2023 (the currently latest version).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 8 of 9
(1,044 Views)

Thank you to all who replied. 

 

I have now got a solution. The provider of the packed library resent me a new library made in LV2020 and I was able to use in my application.

 

Thank you again for your help.

0 Kudos
Message 9 of 9
(1,010 Views)