ā01-15-2015 06:31 AM
I , I have a problem with my program.
I make the acquisition with a device connected to GPIB.
I want to have my main program with 2 For Loop and a stop button which stop the program and the device.
The problem is that, if the program is doing an acquisition and is in a For loop, I can press stop button and nothing happens until the end of the for loop.
I can stop with main stop red button but my device is not Off.
I tried an event structure but it donāt works.
The goal is to have a stop process priority to the acquisition process.
I attached my structure of program. I only need to keep the 2 For Loop.
Event structure and while Loop can be removed.
I use LV2012 sp1f5 but I can upgrade to LV2014 if really necessary
thanks in advance for your help.
Solved! Go to Solution.
ā01-15-2015 07:44 AM
Rigth click on the border of the loop you want to leave and add the conditional terminal.
Place the Stop button inside the loop.
ā01-15-2015 11:14 AM
it works, Thanks