04-11-2017 09:25 AM
Hi All!
I'm trying to get a QMH to run as a subpanel however I'm not getting the subpanel controls to respond to my clicks. Is there a setting I need to change in the vi's or additional code I need to add for this to work?
Any help would be appreciated.
Solved! Go to Solution.
04-11-2017 09:50 AM
I just had a quick look and didn't tried it but I would say that your problem is the while loop with the exec state in the launch event. To confirm that go to the Edit Events dialog and uncheck Lock Panel. If your sub panel vi respond to commands after that then the issue is your architecture.
Note that unchecking Lock Panel is not a solution, if you need to do that then your architecture is wrong. The insert vi and run vi nodes should be in a consumer loop. Also, your sub panel vi shouldn't be stopped using the abort method.
Ben64
04-11-2017 10:10 AM
04-11-2017 10:22 AM
@ATE-EGNE wrote:
Out of curiosity, why is this architecture wrong?
Because something is stopping your event processing loop. Therefore your GUI will become unresponsive and that just generally is bad for user experience.