LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Right-clicking in large project locks up LabVIEW for a minute or two

Solved!
Go to solution

I've got a large project -- with lots of classes (and no Actor Framework).  Sometimes when I right-click on a file in the project, LabVIEW just kind of hangs. After waiting 10 or 20 seconds, I give up, do something else, and eventually I can come back to LabVIEW and it'll be unhung -- but I don't get my right-click menu (probably because I went off and did something else).

 

Any ideas (other than "load fewer files" in my project) for how I can get this responsive again?

 

(The last post I found about this topic mentioned a fix that got rolled out for LabVIEW 2015.  I'm on 2022.)

0 Kudos
Message 1 of 23
(2,487 Views)
Solution
Accepted by _carl

And here's an idea that didn't come from ChatGPT. Exit LabVIEW, then rename the following folder to GProviders_bak:

[LabVIEW 20xx]\resource\Framework\Providers\GProviders

 

Restart LabVIEW and see if the problem is gone. If so, then one of the built-in project providers is causing the long delay. At this point, you can exit LabVIEW, restore the folder name, then one by one rename the INI files in that folder to .bak and restart LabVIEW and see which one is causing the problem.

 

My money is on ActorMessageMaker.iniAddActor.iniMessageMaker.ini, or MessageRescripter.ini.

Message 2 of 23
(2,395 Views)

That's exactly what I was looking for, thanks Darren!  As I'm not using AF (at least at the moment), I'm just gonna disable all 4 of those for now...  on first check, it appears responsive!

0 Kudos
Message 3 of 23
(2,371 Views)

@Darren wrote:

And here's an idea that didn't come from ChatGPT. Exit LabVIEW, then rename the following folder to GProviders_bak:

[LabVIEW 20xx]\resource\Framework\Providers\GProviders

 

Restart LabVIEW and see if the problem is gone. If so, then one of the built-in project providers is causing the long delay. At this point, you can exit LabVIEW, restore the folder name, then one by one rename the INI files in that folder to .bak and restart LabVIEW and see which one is causing the problem.

 

My money is on ActorMessageMaker.iniAddActor.iniMessageMaker.ini, or MessageRescripter.ini.


Definitely need to try and remember this for when it happens again some time in the future! Thanks Darren.

0 Kudos
Message 4 of 23
(2,311 Views)

I'm experiencing the same issue. It will take some time to sort out which one is the culprit, but assuming you're right that it's the actor framework scripting options, what can be done to fix it? Our projects use AF heavily and it would be very cumbersome to develop without those right click options (I'm assuming you lose those when disabling it).

0 Kudos
Message 5 of 23
(2,017 Views)

Depending on which LabVIEW version you're using, there were some bugs in the AF project providers that have been fixed within the past few years. It may be worth investigating to see if the issue you're having is still present in a more recent LabVIEW release.

Message 6 of 23
(2,013 Views)