03-05-2020 04:03 AM
Hi,
I have a project based on Project Packed Libraries (PPL).
- Actor Framework.lvlibp - contains Actor Framework.lvlib
- Kernel.lvlibp - contains the main code and interfaces
- Launcher.exe which calls the VI from kernel to launch the main actor, no more.
- many plugins (*.lvlibp)
All the PPL have own project.
Sometime, I compile the Kernel.lvlibp succesfully and when I open some plugin project, it has the error
"VI has a bad connection to or cannot find a subVI or external routine" and it refers to all Actor Core.vi and Recieve Message.vi in called PPLs. There is no more information. I cannot identify, what is wrong.
Can anyone give me some ideas ?
03-05-2020 05:39 AM
I have found, that the problem is one of my simple dialog VI. When I remove the VI from the project, it works. But wtf why ?
03-05-2020 06:07 AM
Does it have "Separate code from VI" active? Or does it use some property nodes to the front panel? In the latter case you can probably solve it by simple adding a front panel ref to the code as the front panel is usually removed in the optimization.
It reminds of some issues i've had but that was with normal libraries that i solved through the lvlibp ...
/Y
03-10-2020 07:41 AM
Hi,
thank you very much !!! I just added property nodes to open and close the VI FP, instead of setting it in the VI properties, and it works !!!
03-10-2020 10:54 AM
Then i guess you use some dynamic reference to manipulate this VI from the outside? If so, it makes sense if the optimization doesn't realize this and remove the front panel. Adding the property node forces it to stay in the build. 🙂
/Y
03-11-2020 07:47 AM
Sorry, my happiness was premature. The problem remains ...any other idea ?