NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop a thread "New execution/thread" from main thread?

Solved!
Go to solution

Hello,

in my sequence i am calling a subsequence with new thread "New execution/thread" where a yes/no popup is shown.

If something in the main program occurs then the user can click on the yes button to execute special steps in the thread sequence, otherwise he presses no. In both cases the new thread is finished after this.

 

Now the question is: Is there a way to stop/close this running execution/thread (where the yes/no popup is shown) from my main program?

Currently the only workaroun is to loop the popup and set a variable in the main sequence when the loop can be stopped. But this produces a blinking popup...

 

Thanks

0 Kudos
Message 1 of 3
(903 Views)
Highlighted
Solution
Accepted by OnlyOne

Check out this example and let me know if this is close to what you are looking for.

jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(872 Views)

Exactly.

Thank you

0 Kudos
Message 3 of 3
(864 Views)