LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

run time menu in while loop

I am trying to do application with run time menu but i also need polling some data at regular intervals. I made the event loop (for run time menu) inside while loop (for polling). I put the "exit" button inside event loop and it's working fine. But the polling doesn't work anymore as i can see loop count isn't up anymore. (used execution highlight also)

Is there anyway that run time menu can be implemented without event loop? Or is there any way to work around event loop without stopping polling process?

Thanks in advanced...  🐵
0 Kudos
Message 1 of 4
(2,755 Views)
You can use polling for the run time menu.. Programming Pallete - Dialog & User Interface - Menu.
But Events are better. I thing you are doing something wrong.. Send your code for more info
0 Kudos
Message 2 of 4
(2,746 Views)
If you add a timeout case, with a value suitable for polling, in your event structure your while loop will probably "start" again. 
 
Sture
0 Kudos
Message 3 of 4
(2,745 Views)
thanks guys...

putting (proper)timeout for event loop solve the problem...
0 Kudos
Message 4 of 4
(2,739 Views)