LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW hangs at RunVI invoke node when right-click menu is opened

Solved!
Go to solution

Hi,

 

I noticed that VI will hang at RunVI invoke node when doing kind of operations like opening right click menu or holding the left mouse button, even the operation is on the running VI or not. Opening VI pallette on a new VI makes it hangs too.

 

I tried to change the VI Priority, Preferred Excution System or reentrant property, it didn't work at all.  Why there is a lock here?  Could I get around it?  Appricate if anyone can help.  Thanks in advance.

 

2016-12-30_100242.png

 

0 Kudos
Message 1 of 3
(2,996 Views)
Solution
Accepted by topic author nevstop

From what you have described and what is mentioned in the idea exchange post below, I would suspect that method is running in the UI thread.

 

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Run-Method-should-not-run-in-the-user-interface-thread...

 

I'm not sure if the start async node runs in the UI thread as well but that's what I would try.

Matt J | National Instruments | CLA
Message 2 of 3
(2,965 Views)

Hi Jacobson,

 

I tried the Call By Reference Node, It's not running in the UI thread, so I can get around this issue.  Thanks for you quick reply and hint. 🙂

0 Kudos
Message 3 of 3
(2,955 Views)