LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Main vi unresponsive while sub vi WHILE LOOP is executing

Solved!
Go to solution

I've Main VI which includes event structure. When START button is pressed, I start data capturing which is in WHILE loop. I want to ABORT the data capturing. The ABORT button is on Main VI. But Main VI is unresponsive when sub VI while loop is executing. How to ABORT the data acquisition? I can not change the structure.

0 Kudos
Message 1 of 3
(2,551 Views)

Can you post your code? Sounds like your subVI with the while loop is in your event structure for one. Secondly, you need a method to tell the subVI that the Abort button was pushed.

0 Kudos
Message 2 of 3
(2,546 Views)
Solution
Accepted by topic author kshrini

Thanks for reply. I sorted out the issue. I had made mistake. I have event structure and the event case is common for 4 control's Value Change event. I had unchecked Lock Front Panel for one of the control's event and for others it was lock front panel. Thats why it was unresponsive.

0 Kudos
Message 3 of 3
(2,511 Views)