I have recently started using LV2023 Q1. I write my programmers purely with the Actor Framework, and in this regard, I have noticed that LabVIEW no longer takes the icon from the parent methods of the VIs for Overrides from the Actor Framework. Even self-written methods that I overwrite in the child class no longer adopt the icon.
Is this a bug or a new feature?
Is there any way to change this?
Generating a new icon for an overridden VI every time is very time-consuming, especially if you only work with actors like I do and often overwrite the same VIs.
must be a bug... this page just created a month ago mentions the automatic icon creation and no mention of being able to turn it on or off.
Not sure if a bug report was filed or not, so I have created one as well just in case. Report number 02144269.
I contacted NI and only got a response from them last week:
we have created bug case 2350519 to resolve this issue. I have received confirmation from RnD that there is currently no suitable workaround for the version that presents this problem.
In this regard, please expect a workaround for this issue in the upcoming release of LabVIEW or the upcoming patch for the reported version.
Barring catastrophe, this bug should be fixed in LabVIEW 2023 Q3.
I don't have a workaround for the bug, but I do have a procedure that's been helping me fix the override VI icons quickly when the bug occurs. This procedure assumes you use mostly text-based icons on your method VIs. Let's say this is the parent icon:
Due to the bug, when I create a new override of this method in a child class, I get this:
Now here's where Quick Drop comes in. Press Ctrl-Space, type 'from action str' in Quick Drop, then press Ctrl-K:
The Ctrl-K Quick Drop shortcut will assign a text-based icon to the VI based on what you typed:
This feature was first introduced in LabVIEW 2020, and I use it all the time, but I've been using it even more all the time in LabVIEW 2023 Q1.
if it is not a text icon, another trick is to drop the one with the correct icon on a block diagram, highlight the VI then Ctl+C, then open the icon editor for the one that is missing its icon and ctl+V.
In general that works. Not sure how it plays with class banners, so YMMV.