Preventing LabVIEW from automatically choosing replacement subVIs

I open my VI; then LabVIEW tries to load the subVIs which are called in the VI. But it cannot find them for whatever reason; perhaps I moved them or changed their names, for example. So, it automatically goes hunting through my hard-drive, trying to find them. If it finds something close, it automatically chooses and loads it, even though that subVI might be complete garbage--it just happened to have a close name.
There is no easy way for me either to stop it from automatically loading or to correct the damage once it is done. To correct the damage, I have to open each subVI and subsubVI and subsubsubVI (you get the picture) to replace it with the proper file. This is tedious, stupid, and annoying.
Please advise as to how to easily correct this problem. Please also force future LabVIEW editions to ask the user if the suggested replacement is correct before automatically loading it. The user should also be able to browse and choose the correct subVI file. Thank you.

Agreed, this is an annoying feature of LabVIEW and can cause headaches until you learn how to handle it.
The first thing you need to realize is that LabVIEW has only a single memory space. This means that no two VI’s can be loaded at the same time if they have the same name. It’s similar to the directory structure on any OS, you can’t have duplicate filenames in a directory.
Next is how does LabVIEW load sub VIs. The first place it looks is in its memory space. If it sees a VI with the name of the one it’s trying load, it must use that. Again, because it can’t have duplicate names in memory. If it’s not in memory, it looks for the sub VI at the path where it was when the top level VI was last saved. If it’s not there, it starts searching through a specified set of directories (that you can modify. Go to Tools>Options>Path>VI Search Path) for the VI. If you’re quick enough, you can hit the Browse button on the search dialog and find it yourself. If it doesn’t find it in the specified search paths, you then get a browse dialog to allow you to try and find it yourself.
To avoid problems like this, there are a couple things you need to keep in mind.
Don’t have duplicates of a VI on your hard drive. This will ensure that a top level always loads the correct one. If you have a sub VI that you use often, put it in the user.lib directory that’s located in the LabVIEWx.x directory.
Don’t have two VIs with different code use the same name. Even if they are used in different applications, you still have the possibility of getting the VIs cross linked.
Don’t rename a sub VI from outside of LabVIEW. If you want to rename, open it from the block diagram and do a “Save As”. This will relink everything correctly. If you change the name outside of LabVIEW, it has no way of knowing what you did and can’t track it.
Also realize that LabVIEW will only load a sub VI with an exact name match (not counting letter case). It won’t load something just because it’s close.
I’ve always thought they should have the search dialog ask you if you want to browse for the missing subVI or have LabVIEW search for. At least that way you would always have a chance to browse yourself.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

Similar Messages

  • Is there a way to prevent iTunes from automatically starting the next playlist file on the iPad?

    Is there a way to prevent iTunes from automatically starting the next playlist file on the iPad?

    When you connect the device open iTunes and select it from the sidebar. Click on the Summary tab in the main window. Uncheck the option to automatically connect to iTunes. You will find it in the collection of options near the lower part of the window.

  • How to prevent iTunes from automatically updating iPod?

    On the Mac, you can hold down Command+Option to prevent iTunes from automatically updating the iPod when it's plugged in.
    Is there any similar keystroke for a PC? I don't want to have to login as a Guest user, as describe in this article: http://docs.info.apple.com/article.html?artnum=93779
    Thanks in advance!
    iBook G4 1.33 GHz / iMac DV G3 / iPods: color 20 GB, mini 4GB   Mac OS X (10.4.6)  

    Hold down the Control, Shift, and Alt keys while connecting the iPod to the Windows machine.
    (12992)

  • Preventing Itunes from automatally synching

    I want to prevent itunes from automatically syching when I plug in my iPod. I have music on my Ipod that is not in my library and I understand that synching will cause music to be erased from the iPod.
    I went into EDIT, SETTINGS, DEVICES, and then checked the box "Prevent Automatic Synchronizing of ipods, iPhones, and iPads" and then clicked on "OK".
    THIS DID NOT WORK. When I plugged in my iPod, the device immediately said on the screen "synchronizing".
    What am I to do?

    After plugging in your ipod to your computer, click on it under devices. A summary screen comes up. Towards the bottom under options you can click on Manually sync. Uncheck the sync only.... box. Now it will not auto sync.

  • How do I prevent iTunes from automatically putting purchases onto my iPad?

    I recently purchased an iPad and am putting my music on it from iTunes. After I put all of the songs on that I want, I find some of the songs that I purchased on the iTunes Store on my iPad, and I didn't even put them on there. It is as if my Store purchases are being put on my iPad automatically. I can't swipe them to the left so I can't delete them unless I wipe all of the music from my iPad - clearing the music off from iTunes doesn't clear them.
    Are my purchased songs automatically being added? How do I prevent them from being added?
    Some of the songs that I am putting on my iPad are songs that I purchased from the Store, but bought the physical album later.

    Are my purchased songs automatically being added? How do I prevent them from being added?
    5502,
    You can do that from the iPad itself. 
    Go into your iPad and touch the Settings icon.  Then, from the left-hand list, choose "iTunes & App Store." 
    This will give you a section about "Automatic Downloads."  There you can enable or disable Music, Apps, and Updates. 

  • How can I prevent Firefox from automatically updating?

    Hello,
    I am trying to prevent Firefox 28 from automatically updating to Firefox 29 (on OSX 10.7.5).
    I have the option "Never check for updates" checked under 'Update' in the 'Advanced' Preferences. I have "Automatically update Search Engines" unchecked. I have uninstalled Firefox 29 completely using two separate uninstall clean-up kits and emptied the trash before re-installing Firefox 28... Yet every time I finally re-arrange, customize and re-sync Firefox 28 back to the way I like it, I restart my Mac and Firefox 29 rears it's over-drawn, bubbly, space-wasting, UN-SYNCED, ridiculous tabs on top nonsense user interface.
    I've tried to work with Firefox 29 but the new SYNC simply does not work and that's a deal breaker. I need the changes I make on my mac to be reflected across the other two systems on my desk (one WinXP, one Win7) and vice versa. When I try to sync on FF29 it takes me to a page to log in and then refuses to recognize my email and password (which I have thoroughly confirmed on my other systems as correct).
    Can you please help me prevent Firefox 28 from automatically updating to Firefox 29?

    Thank you for your comments, cor-el.
    Yes, I know about Classic Theme Restorer, but the point is what gives Mozilla the right to update my Firefox when I already have quite clearly set every option to prevent automatic updates?
    I have set:
    app.update.auto - false
    app.update.enabled - false
    app.update.silent - false
    So which secret magic setting has Mozilla used to bypass all these settings and what gives them the right to do it?
    Also, moving the tabs bar and menu bar and whatever else has been moved in Firefox 29 is a THEME change. It is not a security fix. Mozilla should not be in the business of changing the theme or look of Firefox. It is not their business how I want my Firefox to look.
    Regarding "tabs", I have mine down the left side, so this tweaking of the tab bar position is pointless anyway.
    To Mozilla, Just for absolute clarification, there is no way you can possibly justify forcing an update on users computers without their explicit acceptance.
    What if someone found out how Mozilla forced the update? They could then force an update that is NOT a genuine Firefox release and do untold damage to peoples' computers.
    So now I am forced to delete Firefox from my startup script and start it manually just in case their is another forced update that I can stop.
    To cor-el, thank you for your post.
    To Mozilla, you have lost the plot.

  • How do I prevent word from automatically starting when I turn on my macbook pro?

    I opened up Microsoft Word on my Macbook Pro one time, and now it automatically everytime I turn on my computer. How do I prevent this from happening?

    CPalluth wrote:
    That's unchecked, as well...
    I had a similar issue last week from a customer.
    It seems that MS-Office fiddle a lot in the preferences and plist's during installation.
    Performing a permission repair (Disk Utility) does the trick in that case.
    Lupunus

  • How to prevent headings from automatically appearing in the doc

    Hi,
    I want to generate "printed documentation," in other words a Word file, from RoboHelp. RoboHelp automatically is taking the names of my TOC books and is putting them at the top of each section  in the doc file as a heading (uses the same styles consistently, using Heading 1 at the top level and Heading 2 as a sub level). I don't want this to happen. I didn't see anything about preventing this from happening on the Troubleshooting page.
    For the record I am using my own CSS -- in other words the project's CSS -- when creating the doc file. RoboHelp apparently is assigning the heading style to be used in Word.
    Can I prevent headings from being automatically created in the doc file, or do I have to remove them manually in the generated .doc?
    Thanks,
    Chris

    If your print layout includes the books, then their titles will print.
    If you only include topics, the book titles will not be included.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How do I prevent Mail from automatically sending iCal acceptances?

    I am using Apple Mail 4.6 on Snow Leopard. I have multiple email accounts in Mail (personal, work, etc.) When I accept an iCal invitation, Mail automatically sends the email response without allowing me to review the email contents or the "From" address. This can lead to embarrassing situations if the email is sent from my personal account. Very uncool.
    The only workaround I have found is to make my work account the "default" account by dragging it to the top of my account list. But this isn't foolproof as Mail apparently uses the address of any currently selected Inbox or message as the From address, so I have to make sure to deselect any messages in Mail before I click "Accept" in iCal. But now if I receive an invitation to my personal calendar, my acceptance will be sent from my work address. Also not cool.
    Is there a better, more reliable way to control the "From" address in an iCal acceptance?
    Or can I prevent Mail from sending this acceptance email automatically? Ideally, I would like Mail to put an unsent iCal acceptance in Drafts or Outbox so I can review and edit the message before sending. But the Drafts and Outbox mailboxes seem to be just chimera, always disappearing. (In fact, I tried creating and sending a message while offline and it just disappeared. Didn't even go to Drafts. When I went back online, the message went "swoosh" from some unknown location. Not very smart design, Apple.)

    It looks like the only way to address this problem is by using this 3rd party software:
    iCal Reply Checker
    http://www.nhoj.co.uk/icalreplychecker/
    Does anyone know of an Apple-native solution?

  • Firefox 7.0.1 is preventing page from automatically reloading

    I have been trying to upload a video to my Facebook account. Every 2 seconds it tells me that Firefox is preventing the page from automatically reloading.
    I Googled this problem and others seem to have located a place where you can uncheck the box that causes this to happen, but in the new version I cannot find it.
    I need to do this today! so help would be appreciated.

    That site doesn't send a required intermediate certificate to link to a build-in root certificate.
    * VeriSign Class 3 Extended Validation SSL SGC CA
    You can find that missing certificate on this website as "Secondary EV SSL Intermediate CA Certificate" (second cert.) and save it in a text file VeriSignC3-EV.cer and import that file in the Firefox Certificate Manager.
    *Tools > Options > Advanced : Encryption: Certificates - View Certificates
    *http://www.verisign.com/support/verisign-intermediate-ca/extended-validation-pro/index.html

  • How can I disable itunes on my iphone 4s?  I don't use it for music and need to prevent it from automatically activating when I plug in to my vehicle.

    How do I disable itunes on my iphone 4s?  I don't use the phone for music, and I need to prevent it from automaically playing music when I plug the phone into my vehicle.  I have attempted to delete all music from the device (so there would be nothing to play), but 1 song remains in the iphone memory and I have been unable to delete that song. 

    Olliev wrote:
    How do I disable itunes on my iphone 4s?
    iTunes app on the iPhone is for purchasing music.
    The fact the iPhone starts playing when connected to your car stereo is a function of your car bluetooth system.
    Consult your car dealer/bluetooth system manual.
    I have attempted to delete all music from the device (so there would be nothing to play), but 1 song remains in the iphone memory and I have been unable to delete that song.
    Connect the iPhone to computer and select it in iTunes.
    Click the Music tab and uncheck Sync music.
    Then click Apply at lower right of iTunes.

  • How can I prevent videos from automatically starting when I load a web site?

    Recently web sites have begun not only showing me the first shot of a video, but starting the video automatically when the page loads (or when I scroll down to the part of the page where the video is located). This happens on various news sites (nytimes.com), facebook, and other places. How can I prevent the autostart from happening?
    I've got AdBlockPlus and NoScript enabled, although I whitelist many sites in NoScript. Videos used to wait for me to click an arrow in the middle (like a "play" button) to start; some still do, but most don't. (I believe an add-on is responsible for the play button, but I don't recall which one.)
    Any suggestions?
    Thanks.

    The chosen answer is not an answer at all.
    The question remains unanswered: How does one prevent unwanted video content from playing automatically on web websites? The problem is most notable on news sites such as ABC News.
    It is really, really, really really really, really, really, really really really, really, really, really really really irritating. More irritating, in fact, than when people cut and paste a word a dozen times to emphasize it.
    MORE IRRITATING THAN WHJEN PEOPLE USE ALL CAPS OUT OF FRUSTRATION BECAUSE NO ONE SEEMS TO LISTEN OR TO CARE THAT I AM SLOWLY LOSING MY MIND BECAUSE EVERY FLIPPING WEB PAGE IN EXISTENCE PLAYS VIDEAS THAT I DON'T WANT TO WATCH.
    More irritating than repeatedly stating the same thing over and over and over and over... wait. I already illustrated that tautology. Never mind.
    Does anyone have an answer? If there is no answer, and the powers that be at Firefox have decided that we have no choice, then state so. If those who decide what HTML "is" have decided that individuals have no power to opt out of video content on any given web page, then say so.
    If Obama is to blame, then say so. If Bush is to blame, then say so.
    But don't say, "the web [page may be using HTML 5 to play video" because THAT is a NON-ANSWER, let alone the "best" answer.

  • How do I prevent Firefox from automatically starting when I boot-up my Mac in the morning?

    Whenever I boot up my Mac in the morning Firefox automatically starts and displays my home page. I would only like to see the desk top with no applications running. I am running OSX 10.4.11 on my laptop.
    == Started possibly a few weeks ago.

    Hmm.. Okay I've done a bit more digging and tried the following two things before the last restart.. Not sure which one actually worked but give these a shot (one at a time) and let us know which is the ''actual'' solution! :)
    1. Open Safari -> Preferences -> General
    - change "Default Web Browser" to Safari
    - Close all applications
    - Relaunch Safari and change default browser back to Firefox.
    2. Remove the check from "Reopen windows when logging in" in the logout dialog and logout of the computer..
    I suspect step 2 is actually the proper solution, but I did both so, hopefully one of them works for everyone else!

  • Its loading a page before even i type in the right URL. how can i prevent forefox from automatically loading the suggested page before i hit enter?

    when i type in address bar, its great that the url is automatically filled in based on the history of browsing. but i dont want the page to be loading at the same instant. for ex. if i want to type thehindu.com, once i type 't' its taking for granted that i am typing thermopedia.com and completes the url and loads the page at the same time. I appreciate the url suggestion but not the page loading at the same time. this wastes my data usage (Highly inefficient).
    To complicate the problem, when i type the second letter sometimes it gets appended to the already auto completed url and heads to search for the completely messy words in the default search engine.
    Basically the addressbar has become useless and so is firefox usage. I'm completely frustrated and spoiled over an hour fighting the issue. please provide options to control the loading of the page automatically even if the url is automatically filledin.

    Try some basic troubleshooting.
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • Prevent Lion from automatically trying to mount Filevault 2 encrypted volume at startup?

    Here's what I'm trying to accomplish: I need two separate partitions, one encrypted with Filevault 2 as a primary working partition, and a second token partition as a "decoy" of sorts, containing a pretty stock install and set as the default boot volume with automatic Guest account log on.  In other words, you turn on the computer and it boots to a guaranteed sterile clean desktop.  An unsophisticated snoop thinks that's all there is.  A more-sophisticated snoop may notice that there's a second (encrypted) volume, but can't access anything without the password.
    So I did a clean install of Lion, filling the entire SSD, and then used Disk Utility to shrink the main partition and create a 14 GB secondary partition.  I then encrypted the main partition with Filevault 2 from within that logon.  Then I rebooted from the clean install USB drive and installed a second instance of Lion on the secondary partition, set up the Guest account, and then set it for auto log on.
    So far so good, however, every time I boot into what is supposed to be—to the casual observer anyway—the "decoy" OS, it helpfully throws up a big dialog box stating "Enter a password to unlock the disk '<Your Super-Secret Volume Name Here>'." which I then have to cancel.  This is hardly helpful in disguising the fact that there is another partition on the SSD.
    I've looked all over Finder's preferences and the System Preferences for a way to make this stop, but I can't seem to figure it out.  Anybody know how to keep Lion from helpfully trying to mount encrypted volumes when it loads?
    Thanks!

    FYI, similar discusion here: http://discussions.apple.com/message/15744942
    This is more of a workaround than a solution, but I ended up installing Snow Leopard to the "decoy" partition.  It has no idea what to do with the encrypted partition, so it doesn't ask.  Good enough for now I guess, but it would be nice if Apple made this configurable.

Maybe you are looking for