08-12-2022 11:12 AM
So I have code that was developed in LabVIEW 2015 SP1 64 bit. I am trying to move it over to LabVIEW 2020 64 bit. It contains packed project libraries. Can I "unlock" these to use them and edit? They are locked for use it seems and I am not finding any documentation on how to access them for editing and to then move to LabVIEW 2020.
Solved! Go to Solution.
08-12-2022 12:02 PM - edited 08-12-2022 12:03 PM
I believe a packed project library (PPL) is built from a LabVIEW Project (.lvproj). You need to get the LabVIEW Project that built the PPL in order to edit the contents.
Some more info on PPL's here
https://www.ni.com/docs/en-US/bundle/labview/page/lvhowto/caveats_recommend_packed.html
08-12-2022 12:29 PM
Thanks for the information! It seems what i thought the original project also has these packed project libraries. Is it possible these libraries come from another project as well?
08-12-2022 03:30 PM - edited 08-12-2022 03:32 PM
@LearningLabVIEW wrote:
Thanks for the information! It seems what i thought the original project also has these packed project libraries. Is it possible these libraries come from another project as well?
It's not possible, it is that they were generated using another project. Think of a PPL as a DLL or exe. You cannot modify them unless you have the source code for them. The block diagrams are stripped from PPLs and all they contain is the compiled code. You can view the block diagram for any public member of a PPL but they are not editable.
08-13-2022 09:08 AM - edited 08-13-2022 09:18 AM
Just a little bit of additional information.
A lvlibp (packed project library) is "built" or maybe "quasibuilt" by packing a library, *.lvlib, of items that have a bidirectional membership.
Library members know they belong to the library and the library knows what items it owns. Since the relationship is bidirectional, the library can be "packed" into a single file. The downside is that it can't be unpacked. You need to edit the source library to make changes then repack it.
Libraries (*.lvlib files) cannot be created or edited outside of a project (*.lvproj) context.
That is lvproj, lvlib and lvlibp files. llb Files are completely different and if you are using them .... just don't.
08-15-2022 12:45 PM
Thank you for the information! I guess I had to dig further into the files to find the original files. Thanks for the clarity.
01-09-2023 09:07 PM
@JÞB wrote:
Libraries (*.lvlib files) cannot be created or edited outside of a project (*.lvproj) context.
Good information JÞB, just wanted to note that lvlib files can be created and edited on their own without an lvproj file.
01-10-2023 11:37 AM - edited 01-10-2023 11:39 AM
@Gregory wrote:
@JÞB wrote:
Libraries (*.lvlib files) cannot be created or edited outside of a project (*.lvproj) context.
Good information JÞB, just wanted to note that lvlib files can be created and edited on their own without an lvproj file.
True, and I didn't know that. It's buried way down in the "Other Files" section. I don't know that I'd create a library without a project first, though. To me, it always felt "safer" to have a library inside a project, but I don't know if this is actually the case.
One other thing is that you can't really build anything without a project.