How to stop a program called with exec.vi system

Hey Gang,

I need to run a third-party application of in LabVIEW.  It works fine when it is called with the exec.vi system, as long as the user has entered the correct data.  However in some (very difficult to determine) conditions, the application crashes.

I want to be able to force by program the application to complete and return to LV I assumed that there is a way to do it using the Windows API, but I don't know how to do this, and I would need a way to get the handle of the offending application Windows.

Short re - implement the app in BT, I'm out of ideas.  I'll appreciate any help.

Thank you

Roger

If you could post a picture of the offending code, it would be great. but two things come to mind, if you expect the exploit code (for example go to a wait for a period, then kill a task) wire: completion to false.

then is another call to command prompt, look in taskkill /f

You can kill a process

It may be useful

Tags: NI Software

Similar Questions

  • How to stop startup programs unnecessary popingup when I start my pc

    How to stop startup programs unnecessary upward poping when I start my pc

    How to stop startup programs unnecessary upward poping when I start my pc

    First of all, note that you should be in * all * the programs that start automatically, not only with those who are in the system tray. Not all the programs auto-start manifesting by an icon in the status bar.

    On each program, you don't want to automatically start, check its Options to see if she has the choice to not start (make sure that you actually choose to not run, not simply a "don't display the icon" option). Many can easily and better be arrested like that. If this does not work, run MSCONFIG from the start. Run the line and on the Startup tab, uncheck the programs that you do not want to automatically start.

    However, if I were you, I wouldn't do this just for the purpose of the minimum number of running programs. Despite what a lot of people tell you, you should be concerned, not with the way * a lot * of these programs you run, but * that *. Some of them can seriously affect the performance, but others have no effect on performance.

    Don't stop all programs to run willy-nilly. What you need to do is to determine what each program is that its value is for you and what the performance cost is running all the time. You can try searching the Internet and ask questions about the details here.

    Once you have this information, you can make a smart informed decision on what you want to keep and what you want to get rid of.

  • How to stop a program to declare - XPP

    in Windows XP, if once you have uncheched in the start menu in MSCONFIG, restarted the computer and the program always starts when the computer is turned on, how to stop the program to start the power?

    Msconfig should simply be used for testing. To disable a startup item, download and run Autoruns.

  • When I shut down windows end progra - sample appears and windows will not be stopped, unless I click for end of program. Eny one have an idea how to stop this program from running?

    When I shut down windows end progra - sample appears and windows will not be stopped, unless I click for end of program. Eny one have an idea how to stop this program from running?

    Then, you will need to request Support Intel if the drivers you downloaded were appropriate for your hardware and Windows XP.

  • How to stop a program to open when I start my computer?

    How to stop a program to open when I start my computer?

    I would check the following:

    1. The program has an option to stop from?
    2. Otherwise use Windows Defender to disable: http://windows.microsoft.com/en-US/windows-vista/Stop-a-program-from-running-automatically-when-Windows-starts . If you cannot use Windows Defender because your antivirus turns off, you have to use the Configuration utility system; See: http://windows.microsoft.com/en-US/windows-vista/Start-System-Configuration and http://windows.microsoft.com/en-US/windows-vista/Using-System-Configuration
    3. Some products start themselves in other ways. Http://technet.microsoft.com/en-us/sysinternals/bb963902 Autoruns lists most of these places. This tool is designed for advanced users. Incorrect use can result in an unusable system. See: http://forum.sysinternals.com/what-to-uncheck-and-what-not_topic5226.html
  • How to stop simultaneous programs to the external server

    Hello

    Oracle R12.1.3 application

    We have a database server node, an internal server and an external server. Now, I want to stop the concurrent program to the external server.

    I changed the variable s_concstatus to disabled and ran autoconfig. But still the current simultaneous program to the external server. A few times the program simultaneous log file is created in external rather than internal server server.

    Please tell the procedure how to stop the program contributing to the external server.

    Is order I need to run autoconfig between server to affect you.

    Please notify.

    Thank you

    I tried to change the variable s_concstatus to disabled but no luck.

    It is set correctly on the internal node?

    What happens if you start the CM on the node internal then? What is the bahvior?

    Thank you

    Hussein

  • I asked for information on how to stop the automatic updates on my operating system to windows 7. I received information about windows 8.

    * Original title: stoppng updated Automatic windows 10

    I asked for information on how to stop the automatic updates on my operating system to windows 7.  I received information about windows 8.  Help, please.

    Change your windows update settings,

    Click on the Start button and type in the search box

    Windows updates

    Click on this list to the top

  • How to stop the program with 2 cases of event

    I know that this is a very easy solution, but I can't seem to find it.

    I have two cases of the event in a while loop. I worked previously with the case of an event, so I placed the button stop in the case of the event. However if I have 2 cases of the event can't place the button stop in one of them so, how can I stop the program then?

    If the stop button is outside of the case that the program will not stop.

    Here's my vi of adding two different values for output according to which key

    Add a change event value case more for wire to terminal under condition of loop and stop button.

    find the attached VI

    Kind regards

    Chick S

  • How to stop a program

    Hello

    I build a LabView LabView 2011 program to control experience. The entire program is contained in a stacked sequence and this sequence is maintained within a driving main while loop. This hand while the loop is controlled by a Stop button, which is associated with, a local variable and in my intentions, stop buttons and the associated local variable of were intended to stop the program at different points during execution.

    Now the way that program is built the button stop of course never actually stops execution of the program, because as the main while loop contains the entire program, the stop button, which is the first iteration of the false status, will never change its status to 'true' before the first iteration, it is the whole of the program, is completed. So I know the reason why I am not able to stop my program, but I don't know how to fix this. I read that queues, events or notifiers might solve my problem, but I have no idea how to use.

    Can someone help me with this please?

    Thank you very much

    It is one of the main reasons for not to use the structures of the sequence.  I think that a State Machine is what you really want.  In this way, you can stop the program at any time.

  • How to stop a program Sonic Module of Activation at startup?

    Original title: computer problems

    Can advise you on how to stop a Sonic Module of Activation program on my system. whenever I turn it on. I don't have a disk to load this software/program and its considerable amount causing of annoyance, as I can't in my emails or anything else, because this also slows down the whole system and sometimes crashes. I have just tried, except to any clean/reboot. That I will need some help with. All I want is to get my computer working again. I hope that makes sense to anyone that I'm fed up with this. His summer lasts for too long time now. What can I do and how please.

    Thank you
    Vee

    Hello

    See the following Web site for a solution.

    Solved: Sonic Module of Activation at startup:
    http://forums.techguy.org/all-other-software/457318-solved-Sonic-activation-module-startup.html

    Let us know if it works for you.

    Concerning

  • How to uninstall a program called "security Defender"?

    How uninstall a fill you called "security Defender"?

    Hello

    Security Defender is a fake antivirus, a scam to force you to pay for it, while it has no advantage at all.

    Remove Security Defender (uninstall Guide)<-- read="" this="">
    http://www.bleepingcomputer.com/virus-removal/remove-security-Defender

    See if you can access the internet using the safe mode with networking (repeatedly press F8 as you start).
    If you are unable to access the internet, then you will need download the programs on another computer
    and transfer to it on removable media such as CD, DVD or USB drives.

    It can be made repeatedly in Mode safe - F8 tap that you start, however, you must also run
    the regular windows when you can.

    TDSSKiller.exe. - Download the desktop - so go ahead and right-click on it - RUN AS ADMIN
    It will display all the infections in the report after you run - if it will not run changed the name of
    TDSSKiller.exe to tdsskiller.com. If she finds something or not does not mean that you should not
    check with the other methods below.
    http://support.Kaspersky.com/viruses/solutions?QID=208280684

    Download malwarebytes and scan with it, run MRT and add Prevx to be sure that he is gone.
    (If Rootkits run UnHackMe)

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Malwarebytes - free
    http://www.Malwarebytes.org/products/malwarebytes_free

    SuperAntiSpyware Portable Scanner - free
    http://www.SUPERAntiSpyware.com/portablescanner.HTML?tag=SAS_HOMEPAGE

    Run the malware removal tool from Microsoft

    Start - type in the search box-> find MRT top - right on - click RUN AS ADMIN.

    You should get this tool and its updates via Windows updates - if necessary, you can
    Download it here.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
    (Then run MRT as shown above.)

    Microsoft Malicious - 32-bit removal tool
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=en

    Microsoft Malicious removal tool - 64 bit
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=en

    also install Prevx to be sure that it is all gone.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Prevx - Home - free - small, fast, exceptional CLOUD protection, working with others
    security programs. It is a single scanner, VERY EFFICIENT, if it finds something to come back
    here or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp  <-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    Try the demo version of Hitman Pro:

    Hitman Pro is a second scanner reviews, designed to save your computer from malicious software
    (viruses, Trojans, rootkits, etc.). who infected your computer despite safe
    what you have done (such as antivirus, firewall, etc.).
    http://www.SurfRight.nl/en/hitmanpro

    --------------------------------------------------------

    If necessary here are some free online scanners to help the

    http://www.eset.com/onlinescan/

    -----------------------------------

    Original version is now replaced by the Microsoft Safety Scanner
    http://OneCare.live.com/site/en-us/default.htm

    Microsoft safety scanner
    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    ----------------------------------

    http://www.Kaspersky.com/virusscanner

    Other tests free online
    http://www.Google.com/search?hl=en&source=HP&q=antivirus+free+online+scan&AQ=f&OQ=&AQI=G1

    --------------------------------------------------------

    Also do to the General corruption of cleaning and repair/replace damaged/missing system files.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    RUN - type in the box-

    sfc/scannow

    Then run checkdisk (chkdsk).

    RUN - type in the box-

    Chkdsk /f /r

    -----------------------------------------------------------------------

    If we find Rootkits use this thread and other suggestions. (Run UnHackMe)

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/a8f665f0-C793-441A-a5b9-54b7e1e7a5a4/

    I hope this helps and happy holidays!

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How to stop a program of pinning the icon on the taskbar

    Everytime I open Mozilla Firefox icon gets pinned to the taskbar. When I close the program the icon remains. How to stop the PIN to the taskbar?

    Whenever you open a program it automatically temporarily himself the PIN to the taskbar and disappears when you close the program.  This is done by default.

    If it is still there when you close the program then somewhere along you chose to pin to the taskbar for easy access whenever you want.  If the icon is still there when you close the program, right click it and no waiting.

  • How to close the open window by Exec VI system automatically?

    Hello

    I use the Exec VI system to launch an exe that is built from a LabVIEW program. Operational system Exec VI, the window out of file exe and stays there even after all the tasks are completed. I have to close it manually each time. Anyone here know how to close the window of the exe file automatically when it's done?

    Thank you

    Jean

    If I understand the question you add a node to call at the end of your application to exit. As it runs as a stand-alone application or in LabVIEW there will be out or stop the execution. I have attached the VI that I use in my applications.

  • How to stop an application to change the time system?

    Hello

    I have an application that is affecting my time GMT system, but not the time zone.

    How to stop applications to change the time system.
    I run gpedit.msc and changed the policy of "change the time system" in person, and the request is received to change the system time.

    Help.

    Concerning
    TANIEL

    "TanielB" wrote in the new message: * e-mail address is removed from the privacy... *

    Hello

    I have an application that is affecting my time GMT system, but not the time zone.

    How to stop applications to change the time system.
    I run gpedit.msc and changed the policy of "change the time system" in person, and the request is received to change the system time.

    Help.

    Concerning
    TANIEL

    Are you sure that it is an application that is causing the problem?

    When you are connected to the Internet, Win XP will periodically synchronize with a time server.  If you have Win XP on the wrong time zone, your computer displays the local time 'bad '.

    Double click on the time (lower RH of your screen) and select the time zone tab.  Select the correct time zone for your location and check the DST box.  If necessary, change the time manually to your local time and save your changes.

    Then select the time tab Internet - and make sure that you have a server in the server field.  I use the time - a.nist.gov.  There are many alternative servers, including time.nist.gov and time.windows.com.  Click 'Update now'.

  • How to stop and start the WMA in 11i system

    How to stop and start MWA 11i system, its Linux server.

    Use your port number 10204 as using your port number.

    CD $MWA_TOP/bin

    ./mwactl.sh-connexion sysadmin/xxxxx stop_force 10204

    ./mwactl.sh-connexion sysadmin/xxxxx start_force 10204

Maybe you are looking for

  • treat high

    So at some point downloaded without knowing an adware for my computer called top deal and on the websites of random words to highlight as links and then I get pop up ads onmcafee, announcements of garbage, and there is not an extension for it in my p

  • Help with Icloud locked iPad Apple?

    First of all, I am disabled and wanted to get my kids something nice. I found a deal on OfferUp for 3 Ipad mini and bought them. They were all on the first Setup screen as if they were new. I drove home excited and went to turn them on, and he's stuc

  • A String conversion table of double rooms

    Hello Do you know how to pay to convert a string into an array of doubles.Here is an example of my chain:0.000,1,0.7614801886489786,0.023750439346730916,205.77816888786631,0,0,0,0,0,0,0,0,0,-0.643693240119727,-0.005262679965248317,-0.0052711846359949

  • Disable conditional symbols &amp; base development system

    I use LabVIEW 8.0.1 Basic with Application Builder development system. I want to apply disable conditional for a code when running in the development environment. That one (TARGET_TYPE) symbol appears in the drop-down menu symbol selection. Symbols t

  • CPU wanted

    Where can I get a CPU for my HP Pavilion dv6-1214ax? I think HP 532120-001 part number. An alternative CPU that would be appropriate would be ok. I am currently in Sydney Australia and would like to know the local HP support direct contacts. In the S