LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel Consumers Maintain Data Order

Solved!
Go to solution

That is NOT simpler.  Open VI ref code is some of the trickiest code there is, because of "root loop blocking".    Try delaying the start of your top loop by a couple of seconds, and open a menu any leave it open.  The Open VI ref will block.  

0 Kudos
Message 21 of 23
(756 Views)

@drjdpowell wrote:

That is NOT simpler.  Open VI ref code is some of the trickiest code there is, because of "root loop blocking".    Try delaying the start of your top loop by a couple of seconds, and open a menu any leave it open.  The Open VI ref will block.  


OUCH! You are entirely right. I saw claims that opening it with a name instead of a path can get around this but I didn't have any luck trying that. It would have been quite nice but I guess the existing solution stays for now.

Perhaps the issue with using the name was I was doing it with the run arrow and not a compiled exe? I will try that later.

Links of interest:

http://www.labviewcraftsmen.com/blog/the-root-loop

https://www.winemantech.com/blog/the-ui-thread-root-loop-and-labview-what-you-need-to-know/

Message 22 of 23
(736 Views)