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

Similar Messages

  • 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

  • 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

  • Labview executable does not open excel...

    i just compiled labview code into an executable and when i run the executable, it does not open an excel document like it is supposed to.  it opens the excel program, but not the specific file stipulated in the code. the problem only exists on one of my computers.  the "problem computer" is being set up for the first time to run labview executables.
    thanks in advance for the help.
    Erik

    That is probably the reason.  Microsoft is notorious for the way they change their activeX components between office versions.
    At the minimum, you need to install the LabVIEW runtime engine on the other PC.  It needs to be the same version as the version of LabVIEW you developed in.  You can either search the NI website and download and install the run-time engine, or you can create an installer for your application from the development PC that will include the run-time engine.
    You may need some other run-time engines such as VISA or DAQmx if your application is using any of those functions.

  • Photoshop does not release memory after closing document.

    When I close a large document Photoshop does not release the memory. If I open another document the program is slow and not resposive. If I close out of Photoshop and restart it then load the other document it is quick and responsive again.

    A bit late to the party here but this issue is still live and I can't find anything else on the forum similar to it (apologies if there is).
    Photoshop does not seem to re-use memory it just keep allocating new right up to the limit before the prog crashes (same applies to Fireworks) so any batch/script processing of more than a handful of files is impossible.
    I am Photoshop via Creative Cloud (so I am always updated to your latest release), Windows 7 64k with 8Mb memory and am using Norton Intenet Security 20.3.1.22 which is updated daily.

  • Timed loop in LabVIEW DLL does not exit nicely

    Hello!  I have what I think is a simple timed loop in LabVIEW that exits after 100 iterations by throwing an error, and letting the loop "stop on error".  This works fine when run in the regular LabVIEW environment, however, when compiled as a Dynamic Linked Library (DLL) and called from LabWindows it forces me to terminate execution, rather than exiting nicely.  What's more, it seems to quit the actual Virtual Instrument call just fine and proceed to the next line of code, but when my main() function in LabWindows completes there must still be something not cleaned up that is causing it to not exit nicely.  Any ideas?   I've tried adding a call to QuitLabVIEW and that doesn't seem to do it.
    Thanks in advance - hoping you'll point out some really easy mistake. )
    Attached is a picture of the timed loop.
    Below is an excerpt of code from LabWindows:
     int main ()
     CallMyLabVIEWDLL();  //This line successfully launches and closes the window for my LabVIEW virtual instrument
    MessagePopup ("My Title:", "This happens after the call to your LabVIEW DLL");    //This popup shows up - indicating the call to the DLL has completed
    //But after the code has completed LabWindows still says "Running", rather than shutting down.
        return 0;
    Solved!
    Go to Solution.
    Attachments:
    LabVIEWTimedLoopDoesntExit.png ‏103 KB

    Update:  I tried the simplest possible "While" loop and it works.  If I replace it with the simplest possible Timed Loop, it doesn't.  (See attachments.) 
    The only thing I could find in a search for why a time loop would break a dll is a patch for lvalarms from LabVIEW 8.5.1 .... I'm running LV 2010 so I don't believe that's an issue.  Correct me if I'm wrong?
    Thank you!
    Attachments:
    Doesnotwork.png ‏43 KB
    DoesWork.png ‏9 KB

  • 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!

  • 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)

  • Getting file... does not exit error msg when attempting to use the setXSLT method

    I am attempting to use a PL/SQL procedure to generate HTML by using the DBMS_XMLQuery.setXSLT and DBMS_XMLQuery.getXML methods. When running the procedure, the following line
    DBMS_XMLQuery.SETXSLT(xsuQry, 'hmwebserver/Series47/Modules/Results_View/hmRVTemplateStyle.xsl');
    throws an ORA-29532 error with the message '... File... .xsl does not exit'. What does this actually mean, and more importantly, what can I do to correct the issue?
    Thanks in advance for any help.

    Hi
    In the dimension/Measure definition, you can select the table. Find the below screenshot.
    If you still getting the issue…Can you please share your screenshot, for better understanding the issue?

  • Getting Cost Center Does not exist error when executing BAPI_ACC_GL_POSTING

    Hi Champs,
    I am getting Cost Center Does not exist error when executing BAPI_ACC_GL_POSTING_CHECK.
    But when I checked for the particular Cost center, it is mapped to the same company code the program has got executed.
    Example:
    Cost center 1000/150402 does not exist on 17.11.2009.
    Cost center 1000/150402 does not exist
    Cost center 1000/150402 does not exist on 17.11.2009.
    Cost center 1000/150402 does not exist on 17.11.2009.
    Please let me know if you have any guess on this. It is very critical issue for me.
    Thanks for all your help in advance.
    With Best Regards,
    Ravi kanth Yechuri

    Use 0000150402 not 150402 .
    Rob

  • I have just downloaded a free app and there is no icon and it will not open from the list even tho it appears to have downloaded and the "open" button is available.  Does not show up when I search for it.  Plenty of memory . . .

    I Have an iPad mini running iOS 7.1.2,  I downloaded a new app and it's icon does not appear anywhere ( have ~ 180 apps so not at limit) and it won't open from the purchased apps list.  It does not show up when I search for it so can't open t that way either.  It doesn't require iOS 8.  Can't delete and reinstall, cause not icon.  This is not a normal "app won't open" question.  it doesn't start the. Stop it just doesn't seem to exist.  Any help is appreciated

    Hello Chelleuri,
    Thank you for using Apple Support Communities. 
    The following article provides information to trroublehshoot issues with installed apps, including not opening.
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open - Apple Support
    Regards,
    Jeff D. 

  • The Acrobat executable does not close and consumes heavy resources.

    Folks:
    We have an Acrobat X Pro (10.1.7) installation in which the executable does not terminate when the program is closed, and it consumes an enormous amount of resources (40%).
    Any idea what is causing this?
    Micah

    Hi MS_DC_1,
    Please try repairing Acrobat and check. Is this reproducible on other machines in your environment or is it machine speciifc.

  • Compiled executable does not open in maximized window

    I have attached a JPG showing the VI Properties that pertain to Window size.  Despite the fact that I have indicated in Run-Time Position - Position:  Maximized.  The compiled executable does not open in a maximized window.
    Even stranger, if I take the shortcut for the program and change it's properties (on the target machine) to Open Maximized, it still doesn't open maximized.
    I have had this behavior with every compiled executable for a couple of years using versions of LabVIEW 8, 2010, 2011 and currently 2011 SP1.  Both the compiling machine and the target machine are Windows XP.
    Is there any explanation for this behavior?  Any way to correct it?
    Solved!
    Go to Solution.
    Attachments:
    VI Properties.JPG ‏81 KB

    I think Ravens Fan is correct. The aspect ratio appears to take precedence over the window position.
    You can set a property manually in your code to maximize the window.
    http://zone.ni.com/reference/en-XX/help/371361H-01/lvprop/vi_fp_winstate/
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • The new version of firefox does not shut down when I close the browser it continues running in the background. In addition it opens Adobe Reader for a brief time and then that closes. Everything worked fine before this new version.

    Firefox automatically loaded a new version recently. The new version does not shut down when I close the browser it continues running in the background. In addition it opens Adobe Reader for a brief time and then that closes. Everything worked fine before this new version.

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

  • I can not create an Installer, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...

    I can not create an Installer on LabView, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...
    Solved!
    Go to Solution.

     Hi Shada this can happen if you are including additional installers to your installer for example DAQmx. When you are doing this the installer has to include other files like MAX (Measuremente and Automation Explorer). Probably when you installed Vision Builder it updated MAX, so when your installer is trying to Include MAX, its asking for the source where it was installed in your computer in this case Vision Builder.
     Here you can cache the information so its not asked again, or you can download a newer version fo DAQmx, so it will update MAX and change de dependecy.
     You can find more details about this issue in this KB:
    KnowledgeBase 3S88PJMY: Why Do I Get A "Missing Distribution" Error When Trying to Build an Installe...
    And for keeping a copy here is more info:
     How Do I Stop the Missing Distribution Notification Each Time I Build An Installer?
    Best Regards
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

Maybe you are looking for

  • Some actions taken while the account "MobileMe" was offline could not be completed online.

    Any help I keep getting this message when I start mail?

  • What are the Manual check Deposit Tables and  Fields(FF68)

    Hi Gurus, I have reqirement to get get Details about  SlipNO,Cheque NO,Cheque Date,Posting Date, Party code,Bank key,Currency ,Amount,Bank Account,Value Date,Entry Date,Banker's name. could u help me Thanks in Advance Sivakumar.

  • Need help setting java paths?

    I have a number of java files set up like this: com.pogo.chess2.Applet, com.pogo.chess2.game.Applet, etc Now each class file uses the keyword: package followed with its associating directory, for example Applet.class would look like this: package com

  • Flex for iOS

    Hi, reading this I have a question, how to convert my existing Flex(Air) application to to run on iPAD. Flash Builder doesn't "like" flex so I am wondering how can I open my Flex application as a iOS application and compile as iOS, should I rewrite t

  • Encoding issue - having UTF-16LE BOM "FF FE"

    Hello Experts,          The scenario is as follows: SAP sends IDOCS -> SAP-PI (collects IDOCS & creates IDOC xml) -> Content conversion done at Receiver CC -> Text File having pipe delimited is placed in an FTP location. Requirement : Currently SAP R