05-01-2019 05:05 PM
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.
05-02-2019 01:48 AM - edited 05-02-2019 01:49 AM
@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/
05-02-2019 06:49 AM
Another relevant link is: