04-04-2023 01:51 PM
@thutch79 wrote:
Happy to share code to help you find a fix/workaround.
I sent you a PM through the forums with contact info.
04-05-2023 03:04 AM
@thutch79 wrote:
I've done some work removing ini files to narrow it down. It is clearly MessageMaker.ini that is acting up. With that removed, right clicking is instant. With it there, there's at least a few second delay, if not very long delay some times.
Happy to share code to help you find a fix/workaround. Please contact me privately, provide source distribution instructions and a place to upload.
Well, that fix doesn't work for me.
Could it just be coincidence? I don't always have this issue, so disabling MessageMaker.ini might be a red haring.
A few things I noticed:
Sometimes it takes forever (have to use task manager).
Sometimes I get 'not enough memory' though.
I do seem to get this when an arrays comes out of an (class) unbundle.
If I get it, restarting LabVIEW and trying again always crashes too.
04-05-2023 08:20 AM
How did you disable MessageMaker.ini? I found that just adding a -bak to the extension didn't disable it. Labview must not filter by file type when loading those. It must find all the files and as long as it finds the info it's looking for in them, they work. I actually backed up the entire directory to a separate spot, deleted all of them, then added the 4 AF ones back one by one until I saw the delay in right clicks to find it's MessageMaker.ini.
04-05-2023 09:16 AM
@thutch79 wrote:
How did you disable MessageMaker.ini? I found that just adding a -bak to the extension didn't disable it. Labview must not filter by file type when loading those. It must find all the files and as long as it finds the info it's looking for in them, they work. I actually backed up the entire directory to a separate spot, deleted all of them, then added the 4 AF ones back one by one until I saw the delay in right clicks to find it's MessageMaker.ini.
I did rename them. I'll try to zip them instead. Thanks.
04-12-2023 03:39 PM
Update: I worked with @thutch79 to narrow down the issue and get a bug filed to LV R&D (Bug 2361987) regarding project right-click menus slowing down in large projects with lots of classes in LabVIEW 2022 Q3 and later. I know of two possible workarounds at this time:
1. Disable the Actor Framework project providers as described upthread.
2. Replace the following VI with the one attached to this reply in LabVIEW 2022 Q3 and 2023 Q1.
[LabVIEW 20xx]\vi.lib\Utility\LVClass\Read Class Ancestry.vi
I know for a fact that (1) works, and thutch79 confirmed that (2) works on his codebase as well. Thanks thutch79 for sharing your code with me and LabVIEW R&D so we could narrow down the issue, get you a workaround, and get a bug filed.
04-13-2023 07:07 AM
@Darren wrote:
Update: I worked with @thutch79 to narrow down the issue and get a bug filed to LV R&D (Bug 2361987) regarding project right-click menus slowing down in large projects with lots of classes in LabVIEW 2022 Q3 and later. I know of two possible workarounds at this time:
1. Disable the Actor Framework project providers as described upthread.
2. Replace the following VI with the one attached to this reply in LabVIEW 2022 Q3 and 2023 Q1.
[LabVIEW 20xx]\vi.lib\Utility\LVClass\Read Class Ancestry.vi
I know for a fact that (1) works, and thutch79 confirmed that (2) works on his codebase as well. Thanks thutch79 for sharing your code with me and LabVIEW R&D so we could narrow down the issue, get you a workaround, and get a bug filed.
I know for a fact that 1) doesn't work for me.😑
And it's not just a slow down; I often have to use task manager to quit (even after a 40 minutes lunch).
04-13-2023 07:21 AM
Try 2. To test, I opened my project as normal and right clicked a vi in a class. I had to kill labview after no response for 20 minutes. I applied Darren’s fix to the labview version I’m using (2023Q1 64bit) and right clicking now takes a second or two. Dramatic difference.
04-13-2023 09:46 AM - edited 04-13-2023 09:50 AM
@thutch79 wrote:
Try 2. To test, I opened my project as normal and right clicked a vi in a class. I had to kill labview after no response for 20 minutes. I applied Darren’s fix to the labview version I’m using (2023Q1 64bit) and right clicking now takes a second or two. Dramatic difference.
I would, but there's no such VI in LV20.
Also, the Vi is in LV22.
04-13-2023 11:11 AM
@weibe The fix I shared with thutch79 was specific to a bug introduced in LabVIEW 2022 Q3, so if you're having issues in LabVIEW 2020 it would be a different cause.
If there's any way you could share your code and steps to reproduce the issue, please PM me and we can talk through more details, I want to get you unstuck if I can.
04-13-2023 12:17 PM - edited 04-13-2023 12:20 PM
@Darren wrote:
@weibe The fix I shared with thutch79 was specific to a bug introduced in LabVIEW 2022 Q3, so if you're having issues in LabVIEW 2020 it would be a different cause.
Well, I have to upgrade someday...
@Darren wrote:If there's any way you could share your code and steps to reproduce the issue, please PM me and we can talk through more details, I want to get you unstuck if I can.
I'm not sure if it's a specific project, I've seen it happen in a single VI, and after crashing it happened again with the same VI.
I think I'll have to disable a custom right click plug in menu, because there's a change it is the cause (although it doesn't do much, there is a loop in there).
If I ever 'catch' this bug, I'll let you know.