Mon Posted November 9, 2023 Report Share Posted November 9, 2023 (edited) I started my first larger Project with OOP in LabVIEW 2018. With usage in different applications I pack my Class Hierarchy in a packed library (.lvlibp). Since it's in early development my working day is constant compiling of the library and switching between LV Projects. Recently, I noticed an issue with the class icons. They randomly seem to disappear or reset to the default. The original icon is still stored somewhere. When I open the class properties and press "edit icon," the original icon reappears (=>see Pictures ). There seems to be no pattern. It's never all of them, but sometimes multiple icons. They still function as intended, so it's merely a cosmetic issue at the block diagram level. But still really annoying. Edited November 9, 2023 by Mon add 4th pic Quote Link to comment
Neil Pate Posted November 9, 2023 Report Share Posted November 9, 2023 Unfortunately this is a known issue with recent versions of LabVIEW and will only be patched in 2024 I think. I will try and dig up more infomation. Quote Link to comment
HYH Posted November 9, 2023 Report Share Posted November 9, 2023 Hi This is an old flaw. It was first mentioned in LabVIEW 2021 SP1, and reported fixed in LabVIEW 2022 Q3 : But apparently not. Regards Quote Link to comment
hooovahh Posted November 9, 2023 Report Share Posted November 9, 2023 16 minutes ago, HYH said: This is an old flaw. It was first mentioned in LabVIEW 2021 SP1, and reported fixed in LabVIEW 2022 Q3 : But apparently not. The word I heard, was that this was the result of a code optimization gone wrong. NI attempted to add some code that would take shortcuts in loading things, and skipping things it didn't think it needed. Some of these code optimizations were fixed in 2022 Q3, but others remained. So I believe you will see the icons get wiped away in less scenarios in later versions, but even the newest public release today may see this bug. Hope you have SCC and can easily recover them. Quote Link to comment
Neil Pate Posted November 9, 2023 Report Share Posted November 9, 2023 (edited) There is a public (but not official NI) fix for this, but I have not tested it personally. https://github.com/illuminated-g/lv-2022-apply-icons Edited November 9, 2023 by Neil Pate Quote Link to comment
Mon Posted November 9, 2023 Author Report Share Posted November 9, 2023 Thanks! Unfortunately I'm using LV 2018 and can't switch to any other version. So I guess the bug was already present back than but not reported... Quote Link to comment
HYH Posted November 9, 2023 Report Share Posted November 9, 2023 Hi It disturbs me that you mention 2018 having the problem. 2018 SP1 is my daily trusted version for whatever I develop, if possible. The last version before NI started optimizing the compiler and who knows what else. And generating problems a galore since then. I have not myself seen the problem in 2018 SP1. Regards Quote Link to comment
Mon Posted November 13, 2023 Author Report Share Posted November 13, 2023 On 11/9/2023 at 4:05 PM, HYH said: Hi It disturbs me that you mention 2018 having the problem. 2018 SP1 is my daily trusted version for whatever I develop, if possible. The last version before NI started optimizing the compiler and who knows what else. And generating problems a galore since then. I have not myself seen the problem in 2018 SP1. Regards Hmm interesting. I had a newer Version of LabVIEW installed once. Maybe this introduced the bug to the existing LV 2018 SP1 installation. Perhaps it's time for a clean reinstall of my LabVIEW IDE. 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.