Popular Post Aristos Queue Posted September 29, 2020 Popular Post Report Share Posted September 29, 2020 (edited) I have made public a document detailing an old internal feature of LabVIEW that will be of great interest to those of you deploying Packed Project Libraries. Until recent conversations with a customer, I never considered that this would have much utility. The problem this solves: First, you build a packed project library (PPL) from source. Then, you write a VI that calls that PPL. It works fine. But now you load the caller VI under a different target in your project. The caller VI breaks because it tries to load the PPL, and the PPL refuses because it isn't built for the new target. Packed project libraries are compiled for one and only one specific target. How can you write ONE caller VI that will load DIFFERENT libraries depending upon the target without adding Conditional Disable structure complications? https://forums.ni.com/t5/Community-Documents/Resolution-of-Pseudopaths-in-LabVIEW-Per-Target-Invocation-of/ta-p/4087124 Edited September 29, 2020 by Aristos Queue 2 2 Quote Link to comment
smithd Posted November 3, 2020 Report Share Posted November 3, 2020 ah, so thats how you are supposed to actually use ppls. is there any way to do this outside of vi.lib (ie a project directory)? the way I've done this so far is to have a separate project for each target -- the ppl seems to load first before any callers, so it kinda-sorta relinks itself (doesn't ever seem happy about doing so, but it works as long as the ppl-calling-code isn't loaded in two contexts simultaneously) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.