06-27-2024 09:37 AM
I regularly encounter an issue where a built PPL will have a dependency on the .lvlib it was created from. Working in 24Q1. (e.g. if I add the PPL to a project by itself, the .lvlib will show up under dependencies.)
Obviously, this shouldn't occur. And I can usually get around it by doing a series of cleanup steps (clear cache and then through scripting wipe mutation history, replace all VIMs with themselves, replace all class constants/controls with themselves, etc...). But then after a bit more development the issue will just happen again.
Anyone else experiencing similar issues? Any suggestions for not having this continue to happen? I'd post code, but it's difficult to consistently reproduce, and I can't share this codebase.
06-27-2024 12:24 PM
@_carl wrote:
And I can usually get around it by doing a series of cleanup steps (clear cache and then through scripting wipe mutation history...).
We really need to convince NI of this idea: Make Class Mutation History Optional
06-27-2024 12:29 PM
I have not seen this issue despite moving all of my stuff to 2024Q1. But I will say that NI is specifically working with a large customer to fix their PPL build issues. I am not sure when we will see these fixes, but I suspect many will be squashed in 2024Q3 and even more in 2025Q1 (assuming there is a 2025Q1 release, NI has already announced there will be a 2024Q3). This is my speculation and does not hold NI to any promises I may have implied.
09-28-2026 10:30 AM
Hi crossrulz,
Are you aware of any updates on this issue? We often see the same problems that are described above (PPL has a dependency on the LVLIB from which it was built, and/or lingering dependencies on VIs outside of the build source LVLIB).
Would love to see a fix for this.
09-28-2026 01:10 PM
If it's the mutation history, that can be deleted by editing the .lvclass file. I've written scripts that automate this across all classes and never ran into an issue.
(from dnatt.org)
The time this would break something is if you're actually using the mutation history, which might happen if you're intentionally having "black box" class values or loading serialized XML/binary old class values.
09-29-2026 01:32 AM
@avogadro5 wrote:
If it's the mutation history, that can be deleted by editing the .lvclass file. I've written scripts that automate this across all classes and never ran into an issue.
(from dnatt.org)
The time this would break something is if you're actually using the mutation history, which might happen if you're intentionally having "black box" class values or loading serialized XML/binary old class values.
There is this alternative way of clearing the mutation history that I prefer because it doesn't deal with xml (but it requires loading the class into memory).
Slow Editor Performance with Large LabVIEW Projects Containing Many Classes - NI
09-29-2026 01:39 AM
@MegaHertz wrote:
Hi crossrulz,
Are you aware of any updates on this issue? We often see the same problems that are described above (PPL has a dependency on the LVLIB from which it was built, and/or lingering dependencies on VIs outside of the build source LVLIB).
Would love to see a fix for this.
My team and I heavily rely on PPL (+ OOP and a few .vim) and we haven't encountered this issue. Mostly a front panel is missing or vi is broken (but is not) type of issue when building.
We're using 2024 Q3 64 bit