Why does compiled (EXE) VI run when you double-cli​ck the icon even though I un-checked "Run When Opened"?

My VI code uses the VI's that came with the NI  USB-8451  USB-to-SPI converter.  Before compiling I needed to use one of those VI's to select the particular USB device that I'm trying to address, then I click the Run button.  But after I compile my code into an EXE file, and then double-click the executable file it immediately starts running without allowing me to select the USB device - even though I un-checked the "Run When Opened" box.  In fact I also un-checked the Show Menu Bar and Show Scroll Bars boxes as well, yet it shows both of them.  What am I doing wrong?

It seems silly to start and stop a built LabVIEW application from the toolbar. A complete application should always run and have the LabVIEW toolbar hidden. A user of you code is not supposed to be familiar with LabVIEW mechanics.
You should do all this in code. Really!
Do a nice state machine with at least two states. (1) a state for where the device has not been entered and is simply waiting for your input, and (2) another state that verifies your device input and hands it to the rest of the code for afterwards.
Still, what LabVIEW version do you have. Did you set the "run when openend" setting in the application builder for the desired VI or just in the VI itself?
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • After I updated to yosemite my iMovie will not open.  I have found the folders in the applications for both versions 9 and 10 but neither one opens when I double click on the icon.  How do I remedy this?

    After I updated to yosemite my iMovie will not open.  I have found the folders in the applications folder for both versions 9 and 10 but neither one opens when I double click on the icon.  How do I remedy this?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. Click the Clear Display icon in the toolbar. Then take one of the actions that you're having trouble with. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • I cannot open numbers.  When I double click on the icon it says "Numbers cannot be opened while it is being updated."  The same is happening with other programs.  I recently upgraded to Mavericks

    I cannot open numbers.  When I double click on the icon it says "Numbers cannot be opened while it is being updated."  The same is happening with other programs.  I recently upgraded to Mavericks

    Well, I figured itout.
    Apparently the Numbers (and Pages) app downloads was stopped and \never re\started.. possibly because of something I did, like turn off my machine during them.
    I went to Apple > App Store > Purchases.  I discovered all three iWorks apps were listed but showed "Resume" as the status button at the right.  I clicked on each to get them started again... and they eventually automatically became "Installed".
    They work, now!

  • Where has my airport utility window gone ? when I double click on the icon all I get is an image of a globe and a base station with no options to make changes in my airport extreme.

    Where has my airport utility window gone? When I double click on the airport utility icon all I get is a picture of a globe and a base station with no further  options available to modify my airport extreme. 

    Sorry, you lost me on that last post.
    Let's start over again.
    Open AirPort Utility on your Mac
    Are you asked for a password at this point?  If yes, enter the base station or device password that you used when you originally set up the AirPort router. Depending when you did this originally, you might have been given an option to use the same password as the wireless network. If you were not, then you have a separate password for the base station.
    You need that password to be able to access the settings for the AirPort router in AirPort Utility.
    If you see a window listing basic information, click Edit in the upper right corner of the window.
    If you are asked for a password, you must enter the device password or base station password that you established when you first set up the AirPort router as explained above.
    If you forgot the password, a Soft Reset will allow you to go in and reset the base station password.  Might be a good idea to write down that password.
    If you are still stuck, then the only option that you have at this point is to perform a Hard Reset to return the settings to factory defaults and then set up the AirPort router again.
    If you prefer, you can also do a Factory Default Reset. It's the same as a Hard Reset except for the timing of holding in the reset button.

  • TS1717 I am unable to launch iTunes, when I double-click on the icon, a prompt comes up saying, "iTunes is on a locked disk or you do not have write permissons for this folder."  This issue occurred out of the blue!  How do I correct this?

    I don't know what suddenly caused this.  I haven't installed anything weird or obscure, I've kept up with all of the normal updates for Windows, my anti-virus, and other normal software (Adobe, Apple products, Steam).  So all I did today was double-clicked on the iTunes icon, and the prompt that I supplied kept popping up.  I rebooted my computer, I uninstalled and reinstalled iTunes and all of my Apple products (Quicktime, Safari).  But nothing seems to be working.
    I could sure use some much appreciated assistance!!!  Thank you!

    I did what I could out of the information provided, however there was quite a bit of difference between the XP format and Windows 7.  After trying what I could, I was still receiving the same error message.  Besides trying to fix this issue, I'm also trying to figure out how this whole thing started to begin with.

  • I can't open firefox. when i double click on the icon, there is a message that says: the procedure entry point squlite3_db_status could not be located in the dynamic link library mozsqlite3.dll.

    can i fix this problem anyhow or will i lose allllll my bookmarks if i reinstall firefox..??

    The first thing to do is to locate your profile folder/directory, that is easiest to do if firefox itself is open! Then copy the whole lot somewhere safe such as onto your windows desktop. This step is not entirely necessary but a belts and braces procedure, because presumably you have no other backups of your bookmarks and so it seems a prudent precautionary step.
    For informatiom the bookmarks themselves are stored multiple times. The main and most important is a file called ''places.sqlite'' there will also be a folder of backups with the extension ''.json''.
    Normally Firefox will retain bookmarks and other data when reinstalling, as long as you do NOT use the option to delete data (however that is worded). The location of the profile folder is likely to be something like
    ''C:\Documents and Settings\[name]\Application Data\Mozilla\Firefox\Profiles''
    Copy the whole lot from where it says Mozilla that should include the bookmark backups folder.
    Now you can go ahead and do a clean reinstall of firefox. Noting that these files are in a totaly different file path from the profile. typically ''C:\Programs''
    #download a new version of firefox from http://www.mozilla.com/en-US/firefox/all.html <br> this will be firefox 5 not firefox 4 that is ok <br> [https://support.mozilla.com/en-US/forums/contributors/707043?last=40456 (discussion)]
    # save the file where you can find it such as on the desktop
    #uninstall firefox using XP control panel option ( do NOT remove personal data)
    #to ensure this is a clean install remove the firefox folder if it remains in your programs directory (do not confuse with the profile mentioned already)
    # run the install file for firefox 5 that you have saved already
    This should result in a clean reinstall of firefox 5, which should have your bookmarks and any other settings. In future remember to make backups of bookmarks. (The profile folders/files saved initially should not be required).
    If you had backup bookmarks, simply creating another profile may have worked to fix this problem.
    For further information see also
    * http://kb.mozillazine.org/Standard_diagnostic_%28Firefox%29#Clean_reinstall
    Post again if you have problems or with how you get on.

  • Firefox will suddenly not open when I click the icon, even though I have used Firefox on this computer for several months with no issues.

    I have always used Firefox with no problems but suddenly the window will not even open when I click the Firefox icon. No error windows appear either.

    Hi pkuhne-
    I am not sure why your Firefox stopped working all of a sudden. I would recommend uninstalling and then re-installing Firefox.
    1) Get new download: http://www.mozilla.org/en-US/firefox/new/
    2) Uninstall your current Firefox version.
    3) Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    4) It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    Hope that helps

  • I cannot get firefox to boot up when I double click on the icon

    When I click on the "globe" to start Firefox Mozilla, my computer will not go to the internet. It won't do anything. The only way I can get online is through Windows Internet Ex0lorer now. I have been using Mozilla Firefox for many years and this has just happened in the last month. I have not gotten a new computer. The only thing that is new is new phones, but I have a cable modem and I don't do dial-up. I did download and add Webroot Spy Sweeper recently.

    Suggestions:
    * Try launching a profile manager as described at [[Managing profiles]].
    * Disable any active anti-viruses and firewalls and try again.
    * Try installing and launching another version of Firefox: '''[http://www.mozilla.com/en-US/firefox/all-beta.html beta]''' or '''[http://www.firefox.com/all-older.html 3.5.x]'''. (This will preserve all your bookmarks and user settings.)

  • Firefox will not open when i double click on the icon

    i click on all my available shortcuts to open firefox and it will not open up. Before this started firefox just crashed. So i uninstalled it and installed it again and nothing.

    Hello Diana.
    Unfortunately, this kind of problems are the hardest to fix because they're the hardest to diagnose. For now, try reading this support article:
    https://support.mozilla.com/en-US/kb/Firefox+will+not+start
    I hope it helps.

  • Why does Flip-Pal Scanner's SD card down load photos to Organizer even the photo is already in Organizer?

    Why does Flip-Pa Scanner's SD card down load photos to Organizer even though the photos are already in Organizer.  My preferences are to not load again photos already in Organizer.  My camera SD card loads photos only one time.

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • Why does NiVisaServer.exe is running when Labview is running??

    I am running two identical test setups for some system testing.  The PC configuration and test cases are same on both the setups. I am using  Labview version 8.5 . I observe the setup running with NiVisaServer.exe is slow as compared to the other setup. The same file is not running in the other setup.  My question is , does NiVisaServer.exe slow down the Labview execution?? Why does NiVisaServer.exe is not running in the other tester eventough both are identical??

    More than likely it might have been accidentally set to start up when the PC starts. See attached screenshot for where this is configured in MAX.
    Attachments:
    VISA Server.png ‏85 KB

  • Why does my MacBook Pro sometimes restores its RAM when I open it, even though it did not run out of battery?

    Sometimes when I open my MacBook Pro, it restores its RAM, as if it has run out of battery, even though it has not run out of battery and it has been charging. Why does this happen, and should it be happening?

    It's similar to hybernation mode in Windows.
    If you put your laptop to sleep, after X amount of hours it will move to the "deeper" sleep level (save memory to disk and shut down...), to save up battery.
    Otherwise if you left your laptop asleep in the evening, you could wake up to a dead battery. Not a great surprise when you in hurry to leave the house with your laptop...
    You can find our more here

  • I am trying to use the brightness adjustment on a grayscale photoshop CS6 file.  The preview shows the adjustment working and changes the brightness, but when you click to apply the change, it does not apply the adjustment.  I have run into this problem b

    I am trying to use the brightness adjustment on a grayscale photoshop CS6 file.  The preview shows the adjustment working and changes the brightness, but when you click to apply the change, it does not apply the adjustment.  I have run into this problem before, although rarely, with some other files over the years and with earlier versions of CS.  I would like to know how to overcome this problem?

    Make sure you are viewing your image at 100%. At smaller views, pixels and layers and the way they interact are approximate interpolations and won't show you the actual pixel-for-pixel changes.

  • Anyone know why, firefox does not remember password for a site when you remove password from the view password site? I removed a pasword in the view password window and now it not asking me to remember and also it is not remembering the password when I go

    Anyone know why, firefox does not remember password for a site when you remove password from the view password site? I removed a password for a site that was not remembering the correct password for the "view password" window and now it does not guess the password and does not remember the password for that site. All other sites are being remembered.
    == This happened ==
    Every time Firefox opened
    == After I deleted the password from the view password window.

    The saved password feature worked well, but the site I had saved the password for required that I change the password. I have found no way to update the password in Firefox. After I deleted the saved password, Firefox did not ask if I wanted the new password saved. When this happened before, I removed and re-installed Firefox, and then it worked. I hope there is another way to update a password.

  • Why does adobe reader 11 not allow you tube videos to be viewed on my MAC?

    Adobe reader does not allow me to view you tube videos on my MAC.  Why?

    Every time I install the newest version, for whatever reason, if I want to watch a video, I get a missing plug in message.  I don't get the usual "allow or deny" message with it, it just won't allow me to view the video.  I watch a lot of art lessons on line and participate in blogs and this becomes very frustrating.  The odd thing, is that when I un-install Adobe 11, I can view the videos but, of course, then I can't download PDF files.  The weird thing is, other people in my neighborhood are having the same issue and don't know what to do about it.  I may just download an earlier version of Adobe because I didn't have this issue until I updated it some months back.  Maybe my 6 year old MAC can't handle the technology even though I am running on the latest Safari version?

Maybe you are looking for

  • Using cue points to change a text box

    Ok I asked a simlar question before but I am still having trouble getting it to work. I have a video with 11 Cue points and at each cuepint I want the Typebox to change it text at each cue point. When the video is playing I want a the textbox to chan

  • Need case study of Multi-org in Oracle 11i E-Business Suite.

    Hi Could you please share the case study for muliti-org in oracle 11i E-business suite. Thanks in advance. Thanks and Regards Bharati Akkivalli

  • Openquery update and optimistic concurrency

    Hi, I need to update a mySQL database through a linked server in SQL. I can successfully add, delete, but struggle to update a row twice. exec ('UPDATE OPENQUERY (SIBC, SELECT UID, value1, value2 FROM table1 WHERE UID= "SCEP"'') SET value1= "hello" W

  • Window is off center

    when I open Adobe Elements 12 organizer, the window is off center and the tool bar is out of reach.  I have a mac and have tried to zoom out to make it smaller, re-calabrate the screen resolution,reset preferences, and completely un install and re in

  • Is there a way to edit the plist so that everything on Snow Leopard Server gets backed up?

    Hi there: I have read that using Time Machine to back up Snow Leopard Server (10.6.8) itself, including the Mail and OpenDirectory modules, can cause problem when restoring.  Has a way been found to fix this?  Does it involved editing a plist?  If no