Executable does not stop running when closed

I am trying to build an executable, but it does not stop running when I quit. I have to stop it through the task manager. How can I make it actually stop the .exe thread?
I have confirmed that the loop stops running, and have even tried connecting it to the "stop" function.
Thank you!

Jeff Bohrer wrote:
Ahh-
emc08 wrote:
It is done in the "Quit" case of the user events.
But you left the right side tunnel unwired from the the inside (so the event reg terminal OUT contains the valid refnum to the user event you just tried to destroy)  Event terminals behave like SRs with invisable wires in every case that is not wired
Here is an example demoing just this behavior.
I'm sorry, but I can't see th eexample because I am running 2009. I think I understand. I've cleaned up the code a little bit, and added a shift register for the events. Is this what I needed to do? This still does not solve the problem, unfortunately. If I close, the "Quit" sequence properly executes, (including closing of the front panel), but the thread still does not close.
Attachments:
Program.vi ‏218 KB

Similar Messages

  • Labview executable does not exit memory when closed

    Hello everyone. I have been tasked with upgrading some of our vis from labview 6.0 to 8.5.1 . I was able to create new executables and run the vis just fine in 8.5. However, when I close the vis in question, the window dissapears just fine, but the process remains in memory causing me to have to go to the task manager and manually kill the process. Does anyone know what generally might cause this sort of problem to occur? This did not happen when the program was in version 6.0. Thank you for your help.

    I went ahead and added an event handler "application instance close" and I added the quit labview module connected to a boolean constant of true. It's weird because the .vi running closes, but the executable remains in my task bar.
    In other words, when I execute my .exe, I have ________.exe and _______.vi running. When I hit the red 'x' for my .vi, it closes but not the .exe. When I call file>quit in the .vi, they both close.
    Edit: To be clearer, adding the above did not close the .exe portion when I hit the x out button in my .vi window.
    Message Edited by pacman326 on 07-24-2008 10:03 AM

  • One device does not stop ringing when answering FaceTime with another

    Does anyone have this problem; I have a 15'' MBP 2011 OSX 10.8.2., and an iPhone 4 running iOS 6.0.1. When my FaceTime receives a call, both devices are ringing just as they should, but one device does not stop ringing when I use the other to answer the call. However, the call is disconnected after some time (like, if you don't answer at all, the call attempt is dropped). So, my FaceTime calls are constantly dropped. IF I answer and then choose to reject the call with the other device, the call is disconnected.
    This problem occurred some time ago, perhaps with the Mountain Lion upgrade, but not sure - I don't get that many FT-calls but from my family abroad.

    I had the same issue pairing a Mac G5 powerpc with a 2014 Macbook Pro and resolved it. In addition to pairing the devices through System Preferences>Bluetooth, make sure that "Bluetooth Sharing" is checked in System Preferences>Sharing as well. In my case, the devices always say "disconnected" in the Bluetooth panel, but change to "Connected" during an actual file transfer. Try sending a file even though it says "disconnected" and it may very well work fine. It also helps to check "Show Bluetooth in status in the menu bar" so you can quickly initiate a transfer from there.

  • I needed to install a previously purchased CS6 versus on new computer. To do this, I had to download a version from CC. I will not be using CC. How do I activate Photoshop under my license so that it does not stop working when I am out of communication ra

    I needed to install a previously purchased CS6 versus on new computer. To do this, I had to download a version from CC. I will not be using CC. How do I activate Photoshop under my license so that it does not stop working when I am out of communication range a month from now?

    The CC version will not activate with your perpetual CS6 license. Download the version from here:
    http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    Your number should work with this version.

  • Music does not stop playing when I disconnect from USB in car

    When iphone is connected to car stereo, music does not stop playing when I disconnect the usb cable. If someone is calling me and I unplug from USB, all I hear in my ear is music...I cannot hear the person calling me. Not sure what's happened but it never used to do this. Any suggestions?

    Nseries phones have behaved this way since forever.
    I don't know any way to change this. Same behavior happens if you unplug your headset or headphones.
    640K Should be enough for everybody
    El_Loco Nokia Video Blog

  • PS Touch Android does not release memory when closed.

    I have to force closure with Task Manager on my Samsung Note 2 running JB 4.1. Why and when will it be fixed?

    Hi Ignacio,
    Sorry for the lack of information - I had typed more complete description, but had trouble posting it.
    The app is installed on a Samsung Galaxy Note 2 phone that is running Jellybean 4.1.1.
    The only way I can see to exit the application is by using the "back" soft key under the screen on the right. Some apps have an "exit" choice under the "menu" soft key, but that key is not active with PSTouch.
    I see the same issue with Google Chrome. The menu key is active with this app, but it does not have an "exit" choice.
    With both these apps, I have to go to the "Active Apps" tab of the Task Manager to release memory.
    There is one difference with PS Touch. Google Chrome always starts the same way whether or not I release it's memory. With PS Touch, if I release memory after closing with the back key, the next time I start it I get an initial royal blue screen with the PS Touch icon in the middle followed by a second screen with a menu in the middle titled "New Project From". If I exit at that point, it takes two presses of the back key to first close the menu and then exit the program and return to a home screen. If I do not release memory, the next time I start PS Touch, it goes directly to the second screen, but without the "New Project From" menu.
    I hope this gives you the information you need.
                      Pete

  • Firefox 11 does not warn me when closing multiple tabs. How do I do this?

    (Tools/options/tabs tab/ warn me when closing multiple tabs) How can I get this to work so I can set it once and keep the warning in different sessions.
    (Other replies seem to indicate it has to be done through config for each session)
    Thanks Alf
    OS XP Pro sp3
    Firefox v11

    Hi AlfLinus,
    You should only have to set it once. Does the actual checkbox disappear when you open a new session? You should look at the article [[Preferences are not saved]]. Firefox might be having trouble writing to your pref.js file.
    Hopefully this helps!

  • 20.0.1: File== New Window & New Private Window will not open then Firefox will not stop running when application is closed

    Although nothing appears to be happening when clicking on either New Window or New Private Window there seems to be processes started because when I try to close Firefox and reopen, I get an error message saying that Firefox is already running. My only option then is to stop the processes via Task Manager. I have tried (several times) to uninstall and reinstall.

    Although advised not to, I finally hit the reset button in the Save Mode Window. This corrected the problem. I suspect a faulty add-on - I try and reject many. I will add them back on at a time as I develop the need. Thanks for you help.

  • Firefox 5 doesn't stop running when closed

    I'm running win7 x64 Home Premium and after closing Firefox 5 it still runs and has to be shut down by the Task Manager. It happened every time so I reverted back to Firefox 4.

    See "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * https://support.mozilla.com/kb/Firefox+hangs

  • Firefox freezes or does not go away when closed I need to use window task manager

    In Windows 7 Firefox often freezes or will not go away even if I close it.
    So far the only way to resolve this issues if it last is to close it with Windows Task Manager.
    Which obviously means that if I was frozen I loose any other tab that is open

    See http://kb.mozillazine.org/Firefox_hangs and [[Firefox hangs]] (Hang at exit)

  • Battery charger does not stop charging when battery is full

    On my G4 laptop, the battery continues to charge even after the battery is obviously full charged. Also, the battery life indicator in the menu always says "calculating" rather than giving me the remaining time left on the charge.
    I've tried two different batteries, and I've reset the PMU.
    Any ideas or help with this problem?
    Thanks!

    I have the same thing happening to me. My indicator at the top right of my screen shows the plug sign at 99% or 100& but the amber ring doesn't change to green. After a while the symbol changers to charge but the ring remains amber no matter what the symbol indicates. I've also reset the PMU. Waht worries me is that something is wrong. Should I ignore the improper amber ring color?

  • The completed program does not stop by itself.

    I am writing a simple vi to run a loop and also I am writing a few commands outside the loop. I am using a flat sequency structure inside a while loop. I am also writing a few commands oustide the while loop in another sequence structure box adjacent to it.
    The progrm executes and does exactly what I want, but the program does not stop running and the run button remains pressed. So because of this, when I call this VI in a bigger program the bigger program hangs when it calls the sub VI as the sub VI is not finishing. I tried using the STOP button, but when I do this, even the bigger program stops executing at this step.
    Is there any way I can stop this subVI alone.
    Thanks,
    Vijay 

    Your vi has race conditions written all over it.  You local variables are all over the place.  There is no guarantee which will happen first, the variable gets written to, or the variable gets read.  You should learn the concept of data dependency execution flow.  Use wires instead of local variables.  Use Error In and Error Out to create the execution order.  Look at the attached vi, which is a modification of your vi.  Also, if the loop exit conditions are never met (Vout is never less than 0.01 or Vin is never less than 2) then your loop will never exit.  You might want to check if these conditions will actually happen, or put a stop button to manually stop the loop and wire it into an OR function with the other conditions.
    - tbob
    Inventor of the WORM Global
    Attachments:
    UVLO[1].vi ‏44 KB

  • Vibration does not stop near my ear

    I think this happens after the iOS 8 updates.
    After pressing the green button for receiving a call, the phone keeps vibrate a while and does not stop even when it's close to my ear.
    This is really annoying!
    I don't know if it's a problem of the proximity sensor of my phone or not. Any suggestion?

    You may need to perform a software repair using PC Companion.The process will erase all internal memory.You might need to charge your device for about 1-2 hours before so the device has at least 60% battery.
    Make sure the device is not connected to computer or laptop and turned off (sometimes you have to press power button and volume up until the device vibrates 3 times or on some devices you have to press the small button near the SIM tray or on the back of the device).
    Open PC companion->support zone->phone/tablet software update->repair my phone/tablet blue highlighted.Follow the steps given,do not connect your phone until prompted to press volume down while plugging USB cable. If PC companion does not start the repair process, you might need to run it in compatibility mode with Windows 7 (in some cases XP).
    All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien

  • Unable to update when executed, table gets lock Execution does not stop Execution even for an hour

    Following is my Query unable to update when Executed table gets lock Execution does not stop even for an hour.
    update Employees 
          set Status = 'Close'
          where statusid IN (select statusid 
                                             from MyView 
                                              where DownloadedDate ='2014-07-27 00:00:00.000'
    here Employee contains 3,00,000 of records and Subquery return 1,50,000 Empid 
    i tried in various ways but not able to solve, statusid  column have no index on,  i tried using cursor but it does not work.
    plz let me know how to solve this Issue, THANKS IN ADVANCE.

    Hello,
    You should better post your question to a more related Forum, like Transact-SQL or SQL Server Database Engine; this Forum is for samples & community Projects.
    Have you checked the execution plan if indexes are used?
    You could update the data in chunks, e.g. 10.000 rows per execution. For this you have to add a TOP clause and a filter to update only those, who are not updated yet.
    update TOP (10000) Employees
    set Status = 'Close'
    where statusid IN
    (select statusid
    from MyView
    where DownloadedDate ='2014-07-27 00:00:00.000')
    AND Status <> 'Close'
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Unable to update, when executed table gets lock and Execution does not stop even for an hour.

    Following is my Query, which unables to update. When Executed, table gets lock and Execution does not stop even for an hour.
    update Employees 
          set Status = 'Close'
          where statusid IN (select statusid 
                                             from MyView 
                                              where DownloadedDate ='2014-07-27 00:00:00.000'
    here Employee contains 3,00,000 of records and Subquery return 1,50,000 Empid 
    i tried in various ways but not able to solve, statusid  column have no index on,  i tried using cursor but it does not work.
    plz let me know how to solve this Issue, Its very Important to get solve as all my further work depends on Updation
    , THANKS IN ADVANCE.

    See also your other thread with the same question:
    http://social.msdn.microsoft.com/Forums/en-US/80243625-fc3b-4ee1-bce1-4adcdbc16c14/unable-to-update-when-executed-table-gets-lock-execution-does-not-stop-execution-even-for-an-hour?forum=sqlserversamples
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for