LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run Time Menu and Wait for Front Panel Event does not work together

I have 2 main while loops running (multi-thread), one on a 100 ms wait collecting data and one on a "wait for front panel event" for capturing user input. The front panel has a graph, buttons, etc. plus a custom run time menu. When a LV button or scroll bar is accessed by the user, the program captures it and reacts as programmed. However, the RTM does not work properly. Windows related RTM commands such as File Open and Save work but my custom RTM commands do not. Once one is activated, there is no programmatic response. Clicking on another RTM elicits a system "ding". However, when operting in HighLight Execution mode (debug), everything works fine. What do I need to do to get this operation to
work as advertised?
T-Ray
0 Kudos
Message 1 of 3
(2,678 Views)
When something only works in execution highlighting, that should start great big red flags waving. LV should respond the same regardless of whether execution highlighting is on or not.

You need to go through your code very carefully, you're probibly looking for a race condition.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 3
(2,678 Views)
Thanks for the response. It was an initialization error that resulted in the strange pattern. Everything works fine now.
T-Ray
0 Kudos
Message 3 of 3
(2,678 Views)