Labview executable only works for about ten seconds before shutting down

Hi,
I'm not a newbie to LabVIEW but I am a newbie to creating executables and installers using LV. On my first attempts I'm having a strange problem that I cannot resolve. I already began discussing this problem on another thread, but I was advised to start a new one.
I've made a variety of VI's but for debugging purposes I made the simplest VI possible: just some plain text on the front panel, no code on the block diagram.
I created a project with just that VI, compiled an executable, compiled an installer, and sent the installation files to my colleague. I use a Win XP machine and so does he. He does not have LV installed.
The installation goes fine, the VI starts up, appears to run fine and then spontaneously quits (i.e. the window closes and disappears) after twelve seconds with no error message.This happens even if I create a VI with a loop. The VI executable, installed via the installer on my WinXP PC (which has the full LV application) does not replicate this problem. It occurs only on a WinXP machine where LV is not installed.
version info: LabVIEW 2010
My debugging ideas going forward are:
- try to play with the "Source File Settings --> Use default save settings" checkboxes, as suggested by another user in another thread.
- ask another colleague with WinXP and no LV to test the VI's, to see if the problem is somehow linked with my first colleague's machine.
- to check the Windows Event Log (following the advice of user Norbert on this forum), but I'm not sure if I'll be able to decipher what I read in there. A first look has turned up nothing interesting.
- am pretty stuck for ideas after that.
Thanking you in advance for any input you can give,
Garrett

Issue solved: the anti-virus was forcing the application to shutdown.
Bit of a newbie problem 
I discovered the problem when I tried the executable on another colleague's PC. When the exe was launched, the anti-virus software (Avast!) showed a pop-up that said it was verifying the unknown program and then after about 12 seconds it shut it down. It then proposed to open the program in either the "sandbox" or "as normal" the next time. By choosing "normal" the VI worked fine the next time.
It turns out that on my first colleague's PC, he also had Avast! software, except that on his PC it was running in some sort of hidden background mode. This meant that it didn't display any pop-up messages to indicate that it was interfering with the VI. Once we manually launched the Avast! interface, it finally proposed the option of opening the VI in the sandbox or normally.
All works fine now. I hope this helps other newbies out there. 

Similar Messages

  • TS1718 My videos in itunes play for about ten seconds before they quit.  After I play them again, the video restarts.  Any ideas?

    My videos in itunes play for about ten seconds before they quit.  After I play them again, the video restarts.  Any ideas?

    Welcome to the Apple Community.
    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel.

  • I spilled coffee on my MacBook. Now it runs for about 20 seconds and shuts down

    where can I get my MacBook fixed?  I spilled coffee on the keyboard.

    Make an appointment at your local App Store for them to check it out for you.

  • I got my iPhone stolen at a party, the next day my friend gave me back my iPhone 4s and he said that it was jailbroken. Now it will not turn on. When i plug it in to a charger, the apple logo appears for about ten second, then connect to iTunes stays on.

    Hello, i have a question on my iphone 4s. I went to a party a few days ago and it had gotten stolen. The next day my friend said that he had found it and it was jaibroken? The phone was on 1 % when i had recieved it. It then died and i plugged it in to the charger. When i plugged it in the apple logo appeared as if it was starting but, it wasnt. The apple logo appeared for about ten seconds and then the screen went black. After that, the connect to itunes screen popped up and will not go away. So now when i take it off of the charger the screen just stays black and wont turn on? I tried connecting it to itunes and restoring it. But it wont even show my phone any more on the side of itunes. I tried restoring it and an error had occured (2001). I have looked up on youtube how to fix this problem and non of them have helped or worked. Its my only phone and i cant even text my girlfriend which bothers me terribly!! Please help me ASAP!!

    The terms of service of the Apple Support Communities prevent us from helping anyone with a jailbroken phone.
    You're on your own.  Good luck.

  • My spell check only works for about half of an article. Is there a way to fix this?

    When I'm on a wiki, looking at an article, I sometimes see a couple spelling errors that just bug me, so I sometimes go in and fix them. However, when I pull up the editing page, the spell check only works for about the first half of the article. I can't find the errors if they're in the second half of the article. Is there a way to fix this?

    You can try basic steps like these in case of issues with web pages:
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and the cookies from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Hitting the space bar the track would only play for about one second. Then it stops.

    I'm new to Soundbooth and have already a serious problem. Hitting the space bar the track would only play for about one second. Then it stops. I don't know what to do. I have the Production Suite CS5. All other applications run well.

    i have the exact problem in my computer lab running macpro on 10.6.8 using CS5... this is happening in every ADOBE CS5 software using sound : soundbooth, AEX, premier pro. this is totaly ridiculous, nothing like that is happening in the other software (finalcut, finalcut xpress, audacity, soundtrack pro all are working fine) ...
    i find the lack of help & replies very weird in this forum...

  • HT201272 I downloaded an album but one of the songs is corrupted, it only plays for about 4 seconds. When I try to re-download using the iTunes Store and "Purchased", it won't give me the option to download it again. How can I get the song I PAID for!!??

    I downloaded an album but one of the songs is corrupted, it only plays for about 4 seconds. When I try to re-download using the iTunes Store and "Purchased", it won't give me the option to download it again. How can I get the song I PAID for!!??

    Depending upon what country that you are in (music can't be re-downloaded in all countries) then try deleting that track from your iTunes library and redownload it via the Purchased link under Quicklinks on the right-hand side of the iTunes store home page on your computer's iTunes.
    If you aren't in a country where you can re-download music or if it re-downloads in the same state then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • TS1424 i downloaded a song and it shows the time length all to be correct but while playing the song will only play for about 30 seconds then skip to the next song in my list (all lists) - in short i payed for a song that is only of a preview quality

    i downloaded a song and it shows the time length all to be correct but while playing the song will only play for about 30 seconds then skip to the next song in my list (all lists) - in short i payed for a song that is only of a preview quality
    Either this needs to get fixed or i will request my money back because i will not work for my money while other lie about what i spend it on.

    Try deleting the problematic tune (electing to remove original file if/when prompted) and then re-downloading the file from the iTunes store.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option at the bottom of the screen of the iTunes app (or video app on your iOS device.
    If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer.

  • HT1555 i just got a new apple tv but for some reason the remote only worked for about a min. and than it wount work at all. i tried to pair and unpair but nathing works but when i press a button the light on the apple tv turns off. what should i do?

    i just got a new apple tv but for some reason the remote only worked for about a min. and than it wount work at all. i tried to pair and unpair but nathing works but when i press a button the light on the apple tv turns off. what should i do?

    Have you held the menu and left arrow together for 6 secs ?  (I think you have from what you say).
    Also try unpowering and restarting AppleTV.
    AC

  • When trying toedit a text message on my iphone5 the edit bubble will pop up but it is no responsive for about thirty seconds before it will respond to the key functions. It just lags behind. Has anyone else had this problem and if so is there a fix?

    When trying to edit a text message on my iphone5 the edit bubble will pop up but it is non responsive for about thirty seconds before it will respond to the key functions. It just lags behind. Has anyone else had this problem and if so is there a fix?

    I rarely record automation, and when I do I never do a second pass (usually hand draw automation in) but I have had problems with Logic 7 no longer playing back automation. I've been told its fixed in Logic 8, but in the mean time here is a work around.
    Select the region where the automation is (if there is no region, create one using the pencil tool and expand it to cover all automation) and go OPTIONS menu -> TRACK AUTOMATION -> "Move current track data to region data." Now everything should play back as expected. If you want to edit the data, simply select "move current region data to track data" and edit away.
    For some reason, Logic 7 will sometimes stop reading track automation data, but I have yet to have it stop reading region automation. This is a bug, and according to other users, has been fixed in Logic 8. Hope this helps until we eventually upgrade

  • I'm having problems with my app, plants vs. zombies 2. It'll open and stay open for a few seconds then shut down. Help please.

    I'm having problems with my app, plants vs. zombies 2. It'll open and stay open for a few seconds then shut down. Help please.

    Check to see if there are Updates available... If already up to date...
    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...

  • Speakers are only working for a few seconds at a time

    Hi,
    My hard drive crashed had it replaced by apple.  They did that and put the lion operating system on it....... now i have speakers that work for only a few minutes or sometimes not at all.... when I go into settings it is telling me that i have no outputs to select.... i am not overly computer savoy any help is appreciated.
    thanks

    If this MB was just recently serviced by Apple, I would take it right back and make them aware. Also, read this Apple troubleshooting article: http://support.apple.com/kb/TS1574

  • Internet access only available for a few seconds before dying

    I've just purchased a new iMac and I'm having problems connecting to the internet. I have a DSL modem router which is configured up and working correctly. I can plug my old PC into it and it works fine, however when I plug it in to my new iMac I have to reset it and then I get about 20 seconds access before it dies. The IP address is still assigned and everything but all traffic seems to stop. If I reset the router again, I'll get another 20 seconds access once it finishes booting. I don't think it's a router issue as I can plug a windows laptop in also and it works fine.

    Those settings would appear to be correct, so the computer is getting the IP number from the router.
    I tried a ping test against www.apple.com after resetting the router, and it was an unknown host . . . Yes, it gave me nothing either: 100% packet loss; but another www address was OK.
    If you enter that router IP number in a browser, do you get a configuration page for the router itself? Does the router need a WEP or WAP password?
    Have you also tried, (A) setting up a new Location rather than use the default, "Automatic" or (B) creating a new user account and setting up from there?
    What router do you have, by the way?

  • During normal operation (fresh install, no plugins) periodically and unpredictably hangs for about 15 seconds before continuing.

    Program hangs for a number of seconds before continuing. All operations within the window are arrested.
    Attempted reinstall of Firefox 6.0, and also disabled all plugins. Reenabled plugins (shown in info. below). Attempted rebooting.
    Problem occurs periodically, at random intervals when browsing, typing, or doing any task.

    I assume that it isn't caused by an extension and that it still happens with all extensions disabled?
    Which security software (firewall, anti-virus) do you have?
    Create a new profile as a test to check if your current profile is causing the problems.
    See Basic Troubleshooting: Make a new profile:
    *https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Why do you tube videos take so long to load and once they do they will only play for a few seconds before quitting ?

    after a you tube video finally loads it will play for a few seconds then quit. after a few minutes it will resume play for a few seconds then quit and resumes the process

    download it, then play offline

Maybe you are looking for