LabVIEW

cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Help for Process Priority (STOP buttons)

Solved!
Go to solution

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.


Download All
0 Kudos
Message 1 of 3
(2,868 Views)
Solution
Accepted by topic author Minikisscool

Rigth click on the border of the loop you want to leave and add the conditional terminal.

Place the Stop button inside the loop.

 

Greetings from Germany
Henrik

LV since v3.1

ā€œgroundā€ is a convenient fantasy

'Ė™Ė™Ė™Ė™uıɐʃɐ lɐıp puɐ Ā°06 ĒuoÉ„d ɹnoŹŽ uɹnŹ‡ ĒsɐĒld 'ŹŽÉ¹ÉuıʃɐÉÆı sı pĒlɐıp ĒŹŒÉÉ„ noŹŽ ɹĒqÉÆnu ĒÉ„Ź‡'


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

it works, Thanks

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