LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing pulldown menu halts VI?

I have a producer-consumer type VI with a custom menu.  Pulling down a menu from the menubar and then pausing before completing a menu selection will cause my VI to halt when it comes to a particular subVI in one of the states inside the consumer loop.  The VI will continue through other states that have DAQ functions and other subVIs even with a pulldown menu accessed, except this particular VI (image attached).  The particularly subVI with the issue dynamically calls a VI that loops a short .wav file.

can somebody tell me why it is halting and what needs to be done to prevent it?

Thanks,
Greg
7.1.1
v7.1
0 Kudos
Message 1 of 3
(2,676 Views)

I was surprised that just having a pulldown menu open, without making a selection, would affect in any way the rest of my VI.

 

Greg

v7.1
0 Kudos
Message 2 of 3
(2,646 Views)
LabVIEW has a component called the root loop which requires some things to run in it. The menu code and the Run VI method both seem to be included in that list, so they're serialized. I don't know if there's any way to work around this other than not keeping the menu open. See here for a similar problem.

___________________
Try to take over the world!
Message 3 of 3
(2,623 Views)