12-04-2013 08:57 AM - edited 12-04-2013 09:00 AM
Hi,
I would really appreciate if someone helps me with next issue:
I have a main VI with event structure in the while loop.
There is a case on a button press launching the subvi, which runs a motor.
To stop the loop inside the subvi i pass a strict type reference to it from the main VI front panel.
The issue is that in event structure reference doesn't update, i.e. on abort button press I cannot stop the motor.
The strange thing that without event structure (only in while loop) it works. I try to put the button in and outside another loop: it doesn't depend on it. Without event structure - everything works.
Labview 2012 32bit
Thanks in advance,
Dirs
Solved! Go to Solution.
12-04-2013 09:52 AM
Do you have the checkbox in the event case set to Lock the Front Panel until the event case completes?
Is the event case running quickly, or is it stuck in that subVI?
Have you read Caveats and Recommendations when Using Events in LabVIEW - LabVIEW 2013 Help ?
12-04-2013 04:18 PM
Well, gotta say, that I didn't know about neither this checkbox, nor those rules.
Thanks for these new things!