08-21-2023 10:44 AM
Hello
I had an issue with a packed library, which i could not load into a LabVIEW 2020 project,
I contacted the provider and they re-issued me a new library written in 2020 which I could then use in my project and successfully build an application.
I tested the application on my development PC and it could run.
When i try to run on the target PC as the program is loading it is still looking for items from the packed library.
Can anyone help me with this problem.
Many thanks in advance, with best regards, Lee
Solved! Go to Solution.
08-21-2023 10:55 AM
There are a few things that could go wrong that I would check.
08-21-2023 11:14 AM
Yeah, sounds like your PPL isn't getting loaded to the target machine. One thing to know about PPL's is that, AFAIK, you can't "build them in" to another executable. If you want them "built in" you will need to get an lvlib from your supplier, not a ppl. The whole point of PPL's is so that they can be swapped out without affecting the executable.
The other option is that the PPL is just in a new location. Finding PPL's during builds can be something of a nightmare. The relative path of the PPL in development generally needs to be the same as the relative path between the executable file and the PPL. See this thread for more info:
Generally speaking I'd avoid PPL's unless absolutely necessary. They can be a LARGE pain in the butt. If you need 'em, you need 'em, but if you don't need them then avoid it.
08-23-2023 11:04 AM
Thank you for the replies to my question.
On reading the responses, I moved a copy of the packed library onto the target machine, in the same location as the PC where I did the development work. The exe can now find the functions and all works well.
Thank you again