How to stop a vi running and always keep its vi reference valid

Hi all

I open a vi reference and need to dynamically execute and stop this vi. Problem is after I use the 'Abort Vi' method to stop it, his reference is no longer valid and I need to reopen the next time I want to run it.

Is there a way to stop the vi running and always keep its vi reference valid?  While the next time I may use the method "RunVI" to run it and do not need to reopen it.

Thank you.

Anne

Ben wrote:

Citing the LabVIEW Champion Ed Dickens signature "using the button abandon to stop your VI is similar to the use of a tree to stop your car." It works, but there may be consequences. »

Ben, I think he's talking about the VI Abort METHOD, not the button abandon.  I wrote a small example using run a VI, waiting, VI an abortion, then run a VI again, and it worked.  The reference did not become invalid.  You must make sure to wire a constant false entry Auto has the method to execute a VI.

Tags: NI Software

Similar Questions

  • How to stop a particular program to always re - install on automatic updates?

    I'm running Vista 64 last month.  Windows PowerShell crashes my computer. I uninstalled and restored my computer.  I just discovered that the automatic Microsoft Download guard re - install on my computer.  I don't want this program.  How to stop that particular program to always re - install on automatic updates?

    Thank you.. .but I think I got it.  You can return to your regular lives.  :)

  • start-up: how to stop my yahoo messenger and windows messenger from starting when signing

    want to know how to stop my yahoo messenger and windows messenger from starting when signing.

    It is always better to stop programs from starting with Windows from the programs themselves, so look in their choices first. There may be an entry in your start > programs > startup folder which can simply be removed. If a program does not offer a way to control the start-up of its preferences, use msconfig to clear the check box next to its name, apply and OK on. Also take a look in your programs > startup folder to see if there is an entry for the application it.

    Start Orb > Search box > type: msconfig and when it appears in the results area above, right-click and choose 'run as administrator '.

    If you are prompted for an administrator password or a confirmation, type the password, or click on continue. Then see what is on the Startup tab. You don't need to restart immediately, but next time you do, you will get a dialog box saying that you have used the utility. Usually, it will be blocked by Windows Defender, and you need to allow it to run so that you can then check the box that says in effect, "don't mind to this subject again".

    Important - do not use the System Configuration utility to stop the process. Use Services and stop all services, unless you really, really know what you're doing.

    The free Autoruns program is very useful for managing your Startup - http://www.microsoft.com/technet/sysinternals/default.mspx

    MS - MVP - Elephant Boy computers - don't panic!

  • How to stop programs that run automatically at startup?

    Hi I just wanted to know how to stop programs from running automatically at startup, I already ran msconfig and disabled programs that I don't want to run at startup and it always automatically start also on msconfig, it indicates the applications that I don't want to run at startup is disabled and it always runs at startup. The programs that I don't want to run at startup are tom tom home and bbc iplayer desktop, but he always runs at startup.

    One other thing is when I install new programs, that they automatically run at startup without my permission.

    Palcouk did preferred proposals. Another way to identify which loads when you start using Autoruns (freeware from Microsoft).
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902

    With Autoruns, you can deselect an item which disables startup, or you can click with the right button on an item, then remove it. If you clear the check box that you can check back for re - activate the element. It is an approach much safer than editing the registry and better than using msconfig.

    A useful feature of the program is that you can click with the right button on an item and select search online to get information about the selected item.

  • How to stop the title bar and border of blinking/flashing in Windows 8 Pro?

    Regardless of what is or is not running. A (desktop) application or a program/process of Windows (File Explorer) and it is just down right annoying when watching TV in Media Center. If the 'window' is not full screen or reduced to a minimum and some downtime on the keyboard or the mouse is detected the 'top' window title bar and border blink and get progressively faster and more annoying. This is the top of the window. Why must he beg for attention? And how it stop! In addition, and I'm not sure that this is relevant, but the mouse pointer has a circle flashing next to her all the time. A judgment that would be nice too.

    I think I found a solution to this title bar and border blinks problem. I have a same problem and experienced looking in msconfig, click on the service tab and hide Microsoft. I would try disabling the brand of computer like HP, Dell, Toshiba, etc. I did for my HP laptop and disable its manufacturer, then restart, and the title bar and border do not Flash. We hope that the work plan.

  • How to stop Photoshop elements, display and print previous documents in the print window

    How to stop Photoshop elements, display and print previous documents in the print window

    beeftub wrote:

    How to stop Photoshop elements, display and print previous documents in the print window

    Open the photo tray, and then drag the picture to print on the left. It is considered to be printed as a priority. Does that help?

  • Can I transfer my photos on iCloud and always keep them on my Mac?

    Can I transfer my photos on iCloud and always keep them on my MacMini?

    Yes. Indeed if you use iCloud photo library and delete a picture of the Photos app on your Mac, it will be also deleted icloud.

    If you open the preferences of Photos and click on iCloud at the top of the preferences window and turn on iCloud photo library and also select the 'download for the Mac originals"rather than the"Optimize Mac Storage"option, the original size will be kept on your Mac.

  • my computer telling me windows stopped my internet page and it keeps telling me it's a DEP error

    original title: Windows Vista

    I need help, my computer telling me windows stopped my internet page and it keeps telling me that it is a mistake of the DEP and won't let me on all Web sites successfully. He keeps it close. What should I do? Frankly, it gets really annoying.

    Hello

    1. what browser do you use?
    2. What is the exact error message?

    Data Execution Prevention (DEP) is a security feature that protects against viruses and other security threats by analyzing your programs to make sure that they use the system safely memory.

    Take a look at the following articles:


    Change Data Execution Prevention settings


    Data Execution Prevention: Frequently asked questions


    Please provide us with some information so that we can help you further.

  • How to stop the 'verified account' and "firefox sync" tabs to load when I start Firefox?

    I signed up for the 'sync' service, but I have not yet used. When I run Firefox my Home tab opens up more a 'verified account' tab and a "firefox sync" tab How to stop these tabs to open.

    You can check the setting of the homepage:

    • Tools > Options > general > startup: Homepage

    Firefox supports several home pages separated by ' |' symbol (pipe).

    You can check for problems with preferences.

    Delete a possible user.js file and files numbered prefs-# .js and rename (or delete) the file prefs.js to reset all the prefs by default, including the prefs set via user.js and pref which is no longer supported in the current version of Firefox.

  • How to stop an application running in another application.

    Hi, good evening.

    My requriement is that I have an application called 'has' is a 'feature to run automatically at startup. so, when I start my device or an emulator it will start automatically and now I want to stop the application from other applications at any time.

    How to fix this? Please guide me something because it is very urgent for me.

    Use GlobalEvent and GlobalEventListener.

    Running application implemements a GlobalEventListener and listening to a particular global event.

    Another application is to launch a global event to stop this application running.

    Running application gets this events and stops.

  • Smartphones blackBerry how to stop the application running behind

    Dear bb

    I had black berries "BOLD" 9000, all here, and then "small black clock pops out" (indicated an application running behind) how stop this application? 2 clear and 'logo' black Berry mobile report

    You will always get this little clock if your memory is pushed to the extreme.  If it happens often, and it interferes with the proper functioning of your phone, remove your battery when your phone is turned on, then replace it a few seconds later.

    At any time, you want to know what apps are running, you can press on and hold the menu key.  Some functions such as phone, Messages, browser, etc will always be running.  If you have more than just running at any time, you can close each down by opening the app, pressing the menu key and selecting close or exit.

    Let us know if that helps.

  • How to stop programs to run automatically

    While searching the Internet or play games online, I can hear the music and playing commercials. When this happens my game and research become really slow and jerky. There are times even when the computer is not used and the same thing happens. We have Mc her antivirus and he always told us that our computer works great and no viruses have been detected. Also I can't use my task manager to see if I can disable the running program. A pop up comes up and tells me that the administrator has been disabled. How o solve these problems?

    Hi Cowboysfan82,

    A. what browser do you use?

    Are b. from when you facing this problem?

    C. is the pop up comes when you work on your computer or using internet explore?

    If you want to turn off the sound on the open site you can then volume icon on the taskbar to the right hand corner. Click on the mixer and cut his internet option is displayed.

    Previous post: the result.

    Bindu S -Microsoft Support
    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • How to stop a script running on facebook

    I have a script that runs when on facebook since internet windows. My computer was completely empty and remade. Can someone tell me how to close this?

    Hello

    1. which web browser you are using?

    2. What is the version of web browser do you use?

    3. What is the exact error message you are getting?

    4. This only happens with Facebook or all sites?

    5. have you made changes to the computer before the show?

    If you use Internet Explorer, please follow the steps from the link below.

    How to troubleshoot script errors in Internet Explorer

    http://support.Microsoft.com/kb/308260

  • Can you please tell me how a) stop the compatibility check and b) stop which is the new page that appears every time. Thank you

    Having recently updated Firefox to version 20.0.1 I get the compatibility check every time and also the what's new page. Can you tell me how to disable them, please.

    Hello rodale, what you see is probably a side effect of firefox is not able to save some preferences in the profile folder.

    go in firefox > help > troubleshooting information, click on file/show profile folder and close all firefox windows later. a windows Explorer window should open - to delete the file named user.js.

    in case this has not solved the problem yet see also How to set preferences that will not save.

  • I am about to replace my hard drive. How can I reinstall forefox and always keep all my favorites and other related information.

    Question
    I am about to replace my hard drive. How can I reinstall firefox and keep all my favorites and any other relevant information

    The profile is a file that store your personal information in a safe place

    https://support.Mozilla.com/en-us/KB/recovering%20important%20data%20from%20an%20old%20Profile

Maybe you are looking for