VI file cannot be completely shut down!?

Hallo all experts,
My VI application is to communicate with an A/D converter. It only works properly one time after opening. I have to totally close LabVIEW, then start it again for a second run. When I run HyperTerminal after stop the application, windows says that another program is using the COM terminal. It seems that my VI application cannot be completely shut down, but Why? Is it normal? There is a producer-consumer structure inside my code, perhaps it is due to the bad synchronization of terminating them. Have you ever experienced such situation?
Any tips are highly appreciated.
win2

I agree with Centerbolt that the best course of action is to manually close your VISA session in your LabVIEW VI before the VI shuts down. Another thing you can do is to set an Environment option in LabVIEW under Tools >> Options. You'll see a checkbox there called Automatically Close VISA Sessions that shuts down VISA sessions whenever the VI goes idle that was using it. Both these methods should save you from having to restart LabVIEW everytime.
Jarrod S.
National Instruments

Similar Messages

  • Hi, I cannot restart or shut down my MAC and get the message Geneio.it installer is cancelling your request. Please shut down and retry. However, I cannot seem to exit that application and I have no idea where it came from. Thanks

    Hi, I cannot restart or shut down my MAC and get the message Geneio.it installer is cancelling your request. Please shut down and retry. However, I cannot seem to exit that application and I have no idea where it came from. Thanks
    Could this be a virus?

    Hold down the Power button until the computer shuts down.
    The Safe Mac » Adware Removal Guide - Genieo
    The Safe Mac » Adware Removal Guide
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection Thomas Reed recommends using Dr.Web Light from the App Store. It's free, and since it's from the App Store, it won't destabilize the system. If you prefer one of the better known commercial products, then Thomas recommends using Sophos.(Thank you to Thomas Reed for these recommendations.) If you already use Sophos, then be aware of this if you are using Mavericks: OS X Mavericks- Sophos Anti-Virus on-access scanner versions 8.0 - 9.1 may cause unexpected restarts
    From user Joe Bailey comes this equally useful advice:
    The facts are:
    1. There is no anti-malware software that can detect 100% of the malware out there.
    2. There is no anti-malware that can detect anything targeting the Mac because there
         is no Mac malware in the wild, and therefore, no "signatures" to detect.
    3. The very best way to prevent the most attacks is for you as the user to be aware that
         the most successful malware attacks rely on very sophisticated social engineering
         techniques preying on human avarice, ****, and fear.
    4. Internet popups saying the FBI, NSA, Microsoft, your ISP has detected malware on
        your computer is intended to entice you to install their malware thinking it is a
        protection against malware.
    5. Some of the anti-malware products on the market are worse than the malware
        from which they purport to protect you.
    6. Be cautious where you go on the internet.
    7. Only download anything from sites you know are safe.
    8. Avoid links you receive in email, always be suspicious even if you get something
        you think is from a friend, but you were not expecting.
    9. If there is any question in your mind, then assume it is malware.

  • After having no internet for over 24hrs, my IPad has completely shut down. I have tried everything I can think of, including a reset but think that was a really bad move!! Any ideas for how to get my pad back? Simple words please..I am not a pro AT ALL.

      My internet was down for over 24hrs after a storm. During that time, my IPad completely shut down and I can't get it going again.  I studied the manual but couldn't find a similar topic.  I reset it and now it is totally goofed up.
       Does anyone have any ideas or should I just take it to an Apple store and pay??  Any solutions you may have, PLEASE use simple words as I am not a pro, by any means....probably why I'm in this situation.
       Thank you in advance.

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Have file in Trash and can not empty trash . Showing 63 files and tried to shut down and restart and still will not empty

    Have file in Trash and can not empty trash . Showing 63 files and tried to shut down and restart and still will not empty.Anyone know what can be done?

    You are welcome. Glad I could help/
    Allan

  • Installed OS 10.9.5 and now screen is frozen.  Cannot restart or shut down.

    Installed Yosemite 10.9.5 and now screen is frozen.  Cannot restart or shut down.  Have done Repair Permissions but still not working.

    Hold the power key for 10+ seconds.
    Then see if you can boot into the recover partition to repair the disk or try a reinstall.
    Ciao.

  • My iPad 2 won't charge and it's completely shut down. I've tried pressing the two buttons simultaneously, but nothing works. It's driving me crazy! Any offers of suggestions would be greatly appreciated. Thanks!

    My iPad 2 won't charge and it's completely shut down. I've tried pressing the two buttons simultaneously, but nothing works. It's driving me crazy! Any offers of suggestions would be greatly appreciated. Thanks!

    1. The most efficient way to charge an iPad is with the charger that came with the iPad and having that plugged into a wall outlet. Trying to charge while connected to a laptop often doesn't work because the USB port may not provide enough power.
    2. Once an iPad battery has completely drained it may take an hour or more on the wall charger before the iPad responds. So after an hour on the charger reset the iPad. Press and hold both the Home button and the Sleep/Wake button continuously until the Apple logo appears. Then release the button and let the device restart. You will not lose data doing this. It's like a computer reboot.
    3. If the iPad still does not start up make an appt at the Apple store. It will be far better if you have an appointment rather than just walking in because those with appointments will be taken care of before you are.

  • Computer completely shuts down

    For the past two days I have been working in illustrator and with about an hour or so left on my battery my computer completely shuts down. I have now lost 2 days worth of work. Extremely frustrated!

    Run Apple Hardware Test on your MacBook Pro.  Also run disk utility to repair your hard drive and permissions.
    Battery information. 

  • Firefox Can not be completely shut down, Have to use Windows Task Manager to shut it down, I am using Vista, How to fix it????

    Firefox Can not be completely shut down, Have to use Windows Task Manager to shut it down, I am using Vista, How to fix it????

    See this: <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • PLZ help my ipod my ipod touch is completely shut down and it doesnt even show the battery icon plz help!

    PLZ help my ipod my ipod touch is completely shut down and it doesnt even show the battery icon plz help!

    Please don't use a bolded font.  It's annoying.
    What happened immediately prior to the screen shutting down?

  • 10.4.10 completely shuts down in the middle of an app

    Hi
    Since downloading the new update 10.4.10 for my Macbook Pro Core Duo
    i have several uncharateristic complete shut downs in differnet applications.
    One in Preview, one while typing and email in Mail and one in Safari.
    I have had no Printing issues, no airport issues.
    I have not a clue how to rectify this issue, but what I am reading in the discussions this update seems to be floored on a few accounts.
    Any pearls of wisdom from anybody.

    Hi Stanley,
    sorry for the tardy reply I have had a few busy few months with not a lot of internet access.
    I am getting errors. I had a look at the crash report via the console manager. It does not look good, but i am not sure what i am looking at.
    I also don't know how to check the disk space my boot disk has. I can see the volume via the sys pref but don't know where to look for available space or how much is left. Please advise.
    how does this effect the automatic shutdown.
    my computer is also not letting me shutdown at all. it goes throught the motions of exiting but it gets to the point where I am just getting a blue screen and a radial symbol rotating rapidly. From here it will continue to do this for a long time. and not stop unless i remove the battery and electrical power supply.
    what do you think or what do I do from here?
    Much appreciated.
    Host Name: Mac-Duo
    Date/Time: 2007-09-04 19:02:11.914 -0400
    OS Version: 10.4.10 (Build 8R2218)
    Report Version: 4
    Command: Exited process
    Path: Exited process
    Parent: kernel_task [0]
    Version: ??? (???)
    PID: 1735
    Thread: Unknown
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000014
    (null)
    Unknown thread crashed with X86 Thread State (32-bit):
    eax: 0x00000000 ebx: 0x900241e4 ecx: 0x00000000 edx: 0xb011ef18
    edi: 0x00000000 esi: 0x14b85300 ebp: 0xb011ee58 esp: 0xb011ee58
    ss: 0x0000001f efl: 0x00010286 eip: 0x0031599f cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    Binary Images Description:
    Thanks
    Darryl

  • I don't think my computer is completely shutting down.  I think it is only going into sleep mode.  When I hit the power button, it turns off immediately instead of shutting down.

    I don't think my Mac Pro is completely shutting down.  When I hit the power button, it just turns off immediately instead of going through the normal shut down procedures.  I heard that I should try resetting the SMC, which involves removing the power cord.  However, when I remove and replace the power cord, it turns on automatically, so I can't even properly reset that to see if it is the issue.  Is this probably a power supply issue?
    Actually, in case this information helps... The computer went into sleep mode the other day, and would not come back.  This is a work computer that I use for our photography business, and at this point I am just trying to run it as a drive to get the photos onto our new computer, but this issue is keeping us from doing so.  Any help would be greatly appreciated!

    Try a SMC reset.
    DALE

  • Why has my iBook started to completely shuts down when power runs out?

    I purchased my iBook G4 in early 2006 (OSX 10.4.11)
    Until last week, I would regularly use my laptop until the battery charge was used up. I would get a low charge warning and it would automatically sleep. I could then plug it in to charge. When it was plugged in, I could touch the track pad or power button and all of the programs that were open when the power ran out would be there, just as I left them.
    This has recently changed. Now when the power runs out, I receive the same low charge message, but instead of sleeping, my computer completely shuts down. When I press the power button to reboot, everything starts back up fine, but I get a message that my date and time are off and need to be reset. I then go to the Date and Time menu, which automatically updates through my wireless connection.
    My questions are:
    1. Why is it shutting down instead of sleeping?
    2. Why is my date and time reseting to an incorrect date and time?

    The difference is that in the past, your battery shut the computer down when their was enough juice to safely sleep the machine. Now it thinks it has enough juice, but it's truly running out. The battery is necessary to maintain the date and time in the computer.
    Your battery needs to be calibrated. You should follow the instructions at:
    http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh1959.html
    This will allow the battery to truly know how much juice it has left.

  • HT4539 My downloads are incomplete, in some cases only 30 seconds per episode.  completely shut down computer and programs.  Is there a real human to talk to?? Tech person nice but referrals to links too complicated. THX

    Easy way to fix this download problem.  Tech person nice but referrals to links WAY too complicated.  I just want to easily load program I paid for.
    My downloads are incomplete, in some cases only 30 seconds per episode.  completely shut down computer and programs to try to remedy. 
    Is there a real human to talk to at Itunes who won't say your warrenty is over so I can't help you?? THX

    Easy way to fix this download problem.  Tech person nice but referrals to links WAY too complicated.  I just want to easily load program I paid for.
    My downloads are incomplete, in some cases only 30 seconds per episode.  completely shut down computer and programs to try to remedy. 
    Is there a real human to talk to at Itunes who won't say your warrenty is over so I can't help you?? THX

  • Complete shut down

    Phone completely shut down after the screen froze and haven't been able to power it back on. Any help?

    Try powering it up while the A/C adapter is hooked up to it.. let it charge for a while if the battery shows 0%..

  • My iphone5s completely shut down, says no service

    my iphone completely shut down, says no service

    Hi danmcl20,
    Thanks for the question. Based on what you stated, it seems like you have no service in the status bar. I would recommend that you read this article, it may be able to help you isolate or resolve the issue.
    If you see No Service in the status bar of your iPhone or iPad - Apple Support
    Thanks for using Apple Support Communities.
    Cheers,
    Mario

Maybe you are looking for