My compiled program crashes after the first run (LabVIEW 2009)

I have a compiled program created with LabVIEW 2009 which, in the first round, once the computer is restarted, works fine but after discontinuation of the program, it will not work properly.

The program uses a compiled Launcher to dynamically activate a set of VI containing the expectation driven by State Machines (QDSM).  Begins subsequent program launcher module appears fine, and his progress bar shows that she starts each of the VI.  Once the Launcher is complete it removes memory launched Dynamics VI and caressed.  The spear that do not reach the main UI that VI is barely long enough for the observer to see (if there is one) then stops.  The program then went from memory I can say.  There is no process in memory or anything.

Also, when I try to run the installed version of the exe file on a computer with installed 2009 development environment I get this behavior consistently successful launch once again.

In both case, my program does raise all errors (that are connected), or runtime generates everything I can see.  Also, when I run my program in the development environment the program does that way.  He has no problem at all.

I have used this style of architecture front of LV8.6 with all the problems.  Can anyone suggest some possible solutions or even a few debugging tips?  I've never had a problem that I could not duplicate in the development environment, so I'm not sure how to start to attack my question.

Thanks for any help.

Jason

I solved the problem I think that (at least with regard to the tests on this point revealed).   After that I added the possibility to connect the past States to of the QDSM, I was able to determine that the program was 'plant' after that I dynamically closed the Panel front of the Launcher.  My program is designed to close the Panel before the pitcher, then pop up the façade of the main user interface.   My EXE is inspired to hold the Launcher with my other files QDSM kept outdoors in specific directories.  What seemed to be happening is that when Launcher closed its façade and before UI opening upward the runtime engine decide since it is y no Windows Open he was closing down.  It's my guess on what might happen any way.  I modified my code to change the Launcher window to hidden and delay for 1/2 second to give a chance to fully start running to the main user interface.  This will correct the problem, or at least worked around her.  If someone out there can explain me exactly what is happening that I sure would appreciate it.

Thanks for all the help that those of you who responded.  Your advice has been very beneficial and certainly led me to a faster resolution.

Jason

Tags: NI Software

Similar Questions

  • Premiere page do not disappear after the first run

    I just installed the latest firefox (9.0.1) and as usual, the first immediate window rises, explaining my rights etc. It is fine and normal. My problem is that no matter how many times I reboot my computer or browser, this first run page does NOT go far. It's like I'm running my firefox for the first time, every time. How can I fix this so I can just have my choice of the right browser?

    Hi ShadoGazer,

    You should look at this article on this specific issue and Preferences not savedarticle. It should give you all the information you need!

    If this does not work:

    1. Enter about: config in the address bar
    2. Click I'll be careful, I promise you if prompted
    3. In the filter field, type Startup
    4. Double click on startup.homepage_override_url
    5. Delete the text string, and then click OK
    6. Close Firefox and reopen the window to check that it worked.

    Hope this helps!

  • 36.0.1 under Windows 7 Firefox crashes on the first click, can't kill processes

    After the 36.0.1 on a Windows 7 computer, Firefox crashes after the first click on a link or when you try to open a new tab. I can't kill the process from the Task Manager. Need to reboot to get rid of the process.

    My attempts to solve the problem so far:
    Uninstalled Firefox & my anti-virus program, removed Mozilla dirs Program Files and AppData and cleaned the registry. Then reinstalled Firefox after the restart, still hangs on the first click on a link. Even impossible to kill the process, help to only to restart.

    I tried on another Windows user; does not help. Still the same symptoms.

    PS: Related to this thread: http://support.mozilla.org/en-US/questions/1051108

    Thank you for your support. Given the quick succession of versions of Firefox, I just waited out 37. My problem is over now.

  • Windows XP Pro on which I run several programs. After the opening of a few applications, I have this message "not enough memory".

    Hello

    I have a PC running Windows XP Pro on which I run several programs. After the opening of a few applications, I have this message "not enough memory".
    When I have this message, I can't open another application, or those in Windows... I have 2 GB of memory and only 700 MB are used.
    If I open the calculator several times (about 65 times), I have the same result.
    Sometimes, I get no error message, but the application does not open.

    Someone knows why?

    Thank you

    Hello

    You did the chnages on computer before this problem?

    I suggest you go through the steps of the following atrticle.

    "Not enough memory" error message appears when you have a large number of programs running.

    Note: Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
    322756 (http://support.microsoft.com/kb/322756/ )
    How to back up and restore the registry in Windows.

  • Police shows only correctly on the first run after installation

    I have a really weird problem where my custom font is displayed correctly on the first run of my application after installation in the Simulator or device. Subsequent executions of the application, display the fields with the default system font.

    The service I use is this:

    public static Font GetCustomFont(boolean bold, int size)
    {
        Font myFont = null;
    
        if (FontManager.getInstance().load("customfont.ttf", "custom", FontManager.APPLICATION_FONT) ==FontManager.SUCCESS)
        {
            try
            {
                FontFamily typeface = FontFamily.forName("custom");
                if (bold) myFont = typeface.getFont(Font.BOLD, size);
                else myFont = typeface.getFont(Font.ITALIC, size);
            }
            catch (Exception e)
            { e.printStackTrace(); }
        }
        return myFont;
    }
    

    and the font is used as follows:

    LabelField myLabel = new LabelField("TESTING CUSTOM FONT");
    myLabel.setFont(GetCustomFont(false, 24));
    add(myLabel);
    

    The police show up nicely the first time I run the application. Even though I call System.exit (0), then restart the application, it is up to the top with the system font. My policy is a TTF 46KO file, which is added to the res folder of my project and I develop for BB 7.0.0.

    Can someone please help?

    You should check the return code of

    FontManager.getInstance () .load (...)

    You agree that SUCCESS, I think that you will find in the following executions that return code is something like 'Already loaded' and so you can use it in this circumstance too.

  • URGENT::opening multiple files - i have 3 files in my directory... When I run the code I can open a file and read it... but the while loop get blocked after the first iteration... can someone me help or give some indications

    bbmChatDB of public database;

    public static FileConnection fconnRead = null;
    public static String fileReadData = "";
    public static InputStream is = null;
    data Byte [] = null;
    DataInputStream is = null;

    Here is my code...

    I have 3 files in my directory... When I run the code I can open a file and read it... but the while loop get blocked after the first iteration... can someone me help or give some indications

    try {}

    FileConnection fc = Connector.open("file:///store/home/user/documents/BSM/") (FileConnection); "

    If (fc.exists ()) {}

    Enumeration e = fc.list ();

    While (e.hasMoreElements ()) {}

    System.out.println ("files are:" + (String) e.nextElement ());

    play this file
    StringBuffer stringBuff = new StringBuffer();
    try {}
    System.out.println ("opening file")-;
    System.out.println ("file name is:" + (String) e.nextElement ());
    fconnRead = Connector.open("file:///store/home/user/documents/BSM/(String)e.nextElement(),Connector.READ_WRITE) (FileConnection);
    System.out.println ("data length")-;
    If (fconnRead.exists ()) {}
    is = fconnRead.openDataInputStream ();
    data = IOUtilities.streamToBytes (is);
    Ddd = new String string (data);
    fileReadData = ddd.toString ();
    System.out.println ("length of data:" + fileReadData.length ());
    System.out.println ("read data :" + fileReadData);

    }

    } catch (IOException ee) {}
    ee.printStackTrace ();
    System.out.println ("Exception in the read data :")
    + ee.getMessage ());
    }

    }
    }

    } catch (IOException e) {}

    e.printStackTrace ();
    }

    {Finally

    try {}
    If (is! = null) {}
    is. Close();
    }
    System.out.println ("is closed...");
    } catch (IOException e1) {}

    E1. PrintStackTrace();
    }

    If (fconnRead! = null) {}
    try {}
    fconnRead.close ();
    } catch (Exception e) {}
    System.out.println (try ());
    }

    }

    }

    You can recode this treatment so that it uses only:

    e.nextElement ())

    Once a loop iteration.

    Directly at the start saying something like:

    String fileName = e.nextElement ());

    and use fileName everywhere in your loop.

    Also be aware that printStackTrace() will do nothing in your situation, it only works if you catch Throwable.  So make sure you something output all your catches exception and also have a catch (Throwable t) to catch the things you miss, as follows:

    {} catch (Throwable t)

    t.printStackTrace ();

    System.out.println ("Eception exception:" + t.toString ());

    }

    I think your code is thrown an exception and you don't see it.

  • black screen in the window of the program after the first pro cs6 update.

    I worked several months without any problems before this update... Now I can not find which version I had before...

    I have a black screen when playing and the screen of the program after the first pro 6.0.3, 6.0.4 cs6 and 6.0.5 update.

    Reading appears when I turn renderer for CPU, but I have tons of projects already rendered GPU and it slowes my work down.

    I can't use 6.0.0 and 6.0.1 because there is no support CUDA for my GT650M and there is no 6.0.2 for Windows

    What am I supposed to do?

    I followed on my Dell 7720 material:

    Windows 7 sp1 64-bit

    CPU i7-3630QM

    16 GB of ram

    Graphics Intel HD 4000

    NVIDIA GeForce GT 650M

    FINALLY I FOUND THE SOLUTION!

    This problem appeared after Premiere Pro cs6 update 6.0.5. and Nvidia graphic drivers at 320... then 331,65. Reading CUDA started working correctly when I reinstalled the graphics drivers Nvidia 307.07 old. It was very unsupposed problem. NEVER DAY drivers and the system until that your projects are completed!

    Thank you very much for the help!

  • sqldeveloper - 4.0.3.16.84 - x 64 crashes after the splash screen

    I had successfully used my installation of sqldeveloper - 4.0.3.16.84 - x 64 last week. After an update to windows 7 enterprise SP1 crashes after the splash screen and about 10% of the progress bar, until the message saying it is saving the extensions. There is no error or other messages of information displayed. I tried to run from a command window produces no additional information. I deleted the sqldeveloper folder and downloaded a zip file and reinstalled. Same behavior.

    2014-09-29 12_11_57-Clipboard.jpg

    The Data Modeler works very well.

    Any suggestions on how to do this problem.

    Hi Andy,.

    If the problem is not with the installation of SQL Developer (which you have unpacked in an empty directory) or find the JDK or having a JDK version that is inappropriate, you should then see if your user settings has been corrupted or (maybe) is somehow became less accessible than before the update of Windows 7 SP1.  These settings can be found under C: \Users\-Appdata\Roaming\SQL Developer\system4.0.3.16.84.


    Here is a compilation of a few standard tips offered several times before on this forum for this kind of situation:

    1 see if behavior persists after the removal of the settings and restart SQL Developer without migrating settings.

    (Be sure to make a backup (export) of your connections first!)

    2. see if (assuming that (1) does not help) allows to reinstall SQL Developer.

    If the fault cannot be placed on a migration of settings / download / installation corrupt, then we can start to consider...

    3. possible problΦmes with older JDK.

    4 OutOfMemory possible problΦmes that may be hidden by running only no Developer SQL from a command line console.

    5. a new bug.

    So try (1) and (2) If you have not already.  Ignore (3) If you are already using jdk7_u51 or later and are not on a Mac.  Point (4) can be a problem if you have many windows to restore and did not mount the Xmx values in the file product.conf - especially if you use a 64 bit JDK.  And (5), if you have the urge, see...

    http://www.thatjeffsmith.com/archive/2012/06/how-to-collect-Debug-Info-for-Oracle-SQL-Developer/

    And if you want to try (1) in a clean 'sandbox' unaffected by existing directories of user settings, you can always add one

    AddVMOption - Dide.user.dir =

    line to your sqldeveloper.conf file.

    Hope this helps,

    Gary

    SQL development team

    P.S.: And keep in mind that SQL Developer "score" to a specific JDK in 4.0 and above all used the SetJavaHome in the product, conf, rather than sqldeveloper.conf

  • Anyone else having programs crash after installation of Sierra?

    I just installed Sierra on an iMac mid-2012. A lot of programs crash after installing Sierra, of Apple's native applications. Anyone else having similar problems? All possible solutions?

    Thank you

    Hi guitarno,

    Thanks for the upgrade of your iMac to macOS Sierra! I understand that your Mac works more slowly as it did before the upgrade. You can try to start up your Mac in Mode without failure.

    What is safe mode?

    Safe mode (sometimes called secure boot) is a way to start up your Mac so that it performs certain checks and prevents certain software from loading automatically or opening. From your Mac in safe mode does the following:
    Check your startup disk and attempts to fix problems if necessary directory
    Loads needed kernel extensions only
    Prevents elements start and the login items open automatically
    Disables the user installed fonts
    Delete font caches, hiding the kernel and other files of the system cache
    Together, these changes can help resolve or isolate issues related to your startup disk.

    Try safe mode if your Mac does not end commissioning

    After successfully started upward in safe mode, check to see if you have any login or startup items. Here are the apps that run as soon as you turn on your Mac and continue to run in the background that can slow down the performance of your Mac.

    macOS Sierra: If you think you have incompatible connection points

    You can also check that your Mac has enough disk space for the smooth Sierra BONES. Under macOS Sierra, it's easier than ever to free disk space! Take a look at this link. Information System for Mac: optimization of the storage on your Mac

    Once these tasks are completed, restart your Mac normally and then test the performance. I'm sure you'll see a difference. Please use the Apple Support communities to post your question.

    Good day.

  • flat sequence stops after the first image

    Hello

    I use USB-6218 to drive a current source and read the voltage at the terminals of shunt resistance in my circuit. In order to safely run things, I wanted to make sure that when I stop my blood 'on demand' vi, I updated the current 0. To do this, I tried to use the sequence of dish (find in annex vi), but my program never leaves the first image, even after it hit the stop on my front button.

    Can someone help me with this?

    Thank you
    Katarina

    Does not change the value of Stop inside the Subvi and the loop runs continually.

    -Suggest to check this example: http://www.ni.com/example/28769/en/

  • Windows 7 Pro 64-bit not start after the first update.

    Integrated system:

    Motherboard: Version of the BIOS Gigabyte GA-X58A-UD3R revision 2.0: FA

    CPU: Intel Core i7-930

    Memory: 6 GB Corsair PC3-12800 DDR3 Triple channel

    HD: Western Digital Black 500 GB SATA 3 Gb/s

    Water cooler: Corsair H50

    The operating system has been installed and running perfect. Readers for the mobo has been installed and and all is well. I can see everything on my computer, network, disks, programs, Device Manager and etc.

    First update for the system, only the important updates were downloaded and after the reboot, the system will not start. The system to start repairing the system but found no problem and restart again and return to the screen of system repair.

    The operating system has been installed 5 times and I had the same problem after the first update, the system unbootable. I tried to boot from the Windows dvd, but I had the same problem again.

    Can someone help me with this problem?

    Thank you

    M. Vilela

    Hi Danielle,

    In addition to the suggestion of Rock Star, you can try the following steps and check if it helps.

    Step 1

    You can first try to start the computer in safe mode and check if you can boot to the desktop. Access the link below and follow the steps to boot to the desktop. To boot to the desktop in safe mode keep tapping key F8 during restart. Once you see the option to start in safe mode select and press to enter.

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Step 2

    If you are able to boot to the desktop in safe mode, you can access to view the history of update on your computer and search for the error code and the updates that failed to install and post it back.

    To view the update history, follow the steps below:

    A. open the control panel (all items view) and click the Windows Update icon.

    B. click on the link to view update history.

    To view the details of a single Windows Update. Select and right-click on a Windows Update list, and then click details.

    Step 3

    I would say also allows you to perform a system restore in safe mode to see if you can restore the computer to an earlier date when it was working fine.

    To restore the operating system to an earlier point in time, follow these steps:

    a. Click Start, type system restore in the search box and then in the list click on the system restore program.

    If you are prompted for an administrator password or a confirmation, type your password or click on continue.

    b. in the System Restore dialog box, click on choose a different restore point and then click Next.

    c. in the list of restore points, click a restore point created before you started having the problem, and then click Next.

    d. click Finish.

    The computer restarts and system files and settings are back to the State they were in when the restore point was created.

    Access the link below to learn more about how to repair the operating system and how torestore configuring operatingsystem to a point in time earlier in Windows:

    http://Windows.Microsoft.com/en-us/Windows7/what-is-system-restore

    I hope this helps. Let us know the results.

    Thank you and best regards,

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Someone else is having their iOS Adobe AIR app crash in the first second of its opening?

    Someone else is having their iOS Adobe AIR app crash in the first second of its opening?

    I use the iPhone 6, iOS 8.1.3, with a development certificate.

    With Adobe AIR SDK 16.0.0.283 and now with 17.0.0.93, after compiling the application (whether release or debug mode), before the getTimer() app can never reach 999 milliseconds the app will crash. Any code that I have, it just hangs before the runtime can never reach the first second.

    Anyone else having this kind of behavior?

    Chris,

    Thanks for your quick response. I found a way to reproduce. It is on the interfaces, and when I try to call a method with an interface of the application hangs. I think it's related to interface with several parameters. I have connected the bug here:

    Bug #3935199 - iOS App crashes when you call a method of objects via interface

  • Firefox does not open a link after the first; Open ok in new tab front.

    In the last week or two, for reasons not clear to me, Firefox does not open the new links after the first; It is used to open a new connection in new tabs (according to my preference) without problems in the past. Now it does not blink again.

    Over time, I've added new applications and others removed, and, of course, I can't exclude from their role in the problem that I have now. I would appreciate some help to solve this problem.

    You have this problem when running in Firefox SafeMode?

    http://support.Mozilla.com/en-us/KB/safe+mode

    Do not choose anything at the moment, just use 'continue in safe mode.

    If this is not the case, see this:

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+theme...

  • Windows 7 64 x computer with up-to-date Norton 360 crashes after the last update__ critic

    Windows 7 64 x computer with up-to-date Norton 360 crashes after the last critical update. I had to go back to a recovery point before the last installed update. I had Norton 360 for nine with no previous Windows Update problems

    It seems to work after a reboot and a new attempt to update norton.   First, it froze.   I connect this because I heard that several win 7 64B machines at work had to be restored on 1/12 after a bad update.  I don't know if they also had norton.

  • Halo 2 crashes after the level "Gravemind".

    Halo 2 still crashes after the cutscene at the end of the level "The Gravemind".  The game acts like it's loading to the next level with the logo of Halo 2 and the vertical lighting of back and forth set.

    I had to play at this level twice, otherwise I can't get any achievement.  I'm tired of having to play at this level.
    My computer specs:
    AMD Phenom II X 4 955 3.2 Ghz Black Edition
    ATI Radeon 9870 x 2 1 GB GDDR5 Ram
    1 TB Western Digital Black
    ASUS M4A79T Deluxe Motherboard
    8 GB DDR3 1600 MHz Ram

    Hi Chuckthetekkie,

    Welcome to Microsoft Vista answers Forum!

    The system requirements for your computer is fine.

    I have a few here that might solve the problem.

    I suggest you perform the clean boot which disable the application non-Microsoft temporarily in conflict with programs. It helps us find what third-party application or service is causing the problem. Follow the steps in the link: how to troubleshoot a problem by performing a clean boot in Windows Vista: http://support.microsoft.com/kb/929135 Note: make sure to put the computer in a normal state, proceed to step 7 in the link. After you find out which application is causing the problem, please disable the program or application. If the problem persists, I suggest you to visit the site of the game Halo 2 to find if there are any updates or patches.

    Hope this information is useful.
    Let me know if it worked.
    All the best!

    Thank you, and in what concerns:
    Swathi B - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for

  • How can I get rid of "ding" when email arrives?

    How can I get rid of the notification of "ding" when email arrives in the mail? I already disabled "play a sound for notifications" in System Preferences/Notifications/Mail.

  • How can I play radio music Apple on Apple tv?

    What happened on the radio to Apple on the 3rd generation Apple TV.  I thought I could play music from Apple that I have subscribed.

  • ratings does not work on Iphone6s more

    I just bought an Iphone6s more and I am surprised that I can't make drawings in the application notes. to the tune of my iPad2, I see the symbol to make a drawing, but not on my iphone. Thanks in advance Patrick

  • memo record while driving

    I listen to podcasts on my iPhone 5 (ios9) while driving. several times a week an idea, key word important... etc comes into my mind and I don't want to miss this. How can I record (voice) without pulling over and recording? I have a headset Bluetoot

  • Error 200170

    I'm having a problem to launch a VI curve tracing example. I have a cDAQ-9174 chassis with a NI 9203 module NI 9229, I was getting a different error but then I changed the name of the device to be compatible with NI MAX, now I have an error of 200170