launch *.exe to view lab & write on it.

Hello

I use LV 8.2.

I understand that 'executable system' can be used to launch applications or files *.exe, which works very well for me.

My problem is writing text in the application is started or the exe file.

I can explain for example - I used 'executable system' to launch notepad.exe & it works fine. But I couldn't write anything in note pad file opened using "stdin".

The "executable" system works forever until I have shut down the notebook.

I want to write a text on the open Notepad & then close it. This is something that I do not know how. I don't want to use 'writing on a file' option in the block diagram, because my intention is not to use Notepad - Notepad is just an example I give here.

I have a *.exe file - once it opens needs to feed with a script 'abc' & enter. The *.exe file will run the abc script & take the 'abc' as input, after you run the script in the application of *.exe I want the *.exe to close. The *.exe will look something like "cmd.exe".

To do this, if I use 'executable system', perfectly, he opens the *.exe file & continues to run forever, it never takes my 'standard' entry of more, it does not have anything in the standard output or "error of type" it just runs constantly even after opening the application.

How to solve this? Appreciate your help here. If the 'executable system' is not the right option here, please suggest alternatives.

Thank you

Gregory

This question came several times before. Have you tried a search?

For example:

http://forums.NI.com/T5/LabVIEW/can-LabVIEW-control-another-program-or-emulate-keys-pressed-on/m-p/9...

http://forums.NI.com/T5/LabVIEW/can-send-characters-to-the-standard-input-while-DOS-command-is/TD-p/...

http://forums.NI.com/T5/LabVIEW/controlling-the-stdin-stdout-of-a-legacy-application-in-LabVIEW/m-p/...

Tags: NI Software

Similar Questions

  • How to control the current program view lab for a power E3631A agilent

    Hello

    I wrote a program to view lab for agilent E3631A triple output power supply in constant voltage mode, and I want to update to operate in constant current mode also. But I can't find any function in the Instrument of e/s, which is related to the current but only the current limit I already used to write my programs to the constant voltage mode. How can I do this?

    Thank you

    When the current exceeds the current limit, the power supply will be running constant.  The food isn't really have one running constant set.

  • Error Launcher.exe

    I frequently receive crash reports Launcher.exe, there seems not to be a place when it happens.
    If I click to send or leave, I can move the road and continue, if I do this goes back to the previous action.

    Clean Windows registry. The registry contains all the settings, files, and application codes used by your computer system. There is also the problematic components that can generate the error Launcher.exe. When the registry is cleaned, these defective components have been set. To prevent this error from the registry entries, a professional registry repair tool should be used, it is the best way and effective to avoid any error Launcher.exe.

    http://www.fixdllexe.com/

  • View lab cann't regeristion

    Most viewed helpme lab running, I was download 2011 but make crass!

    I'm not sure that understand your question. Can clarify you what you mean? Alternatively, you can call the online help OR 866-275-6964 for assistance if your problem is due to the activation of LabVIEW.

  • view lab versions

    Hello:

    A few days ago, I got this message:

    Hello:

    Im trying to find a way to perform a search, a file stored in different subfolders of a main folder, and copy, I mean I have a VI that makes every day a folder (the name istoday date or date of yesterday) and inside that folder is a serial1.txt log file, but yesterday (for axample), the same log (serial1.txt) file was generated , how can I do a laboratory research discovers all of these serial1.txt files? By simply putting in the search field, the name of the main file?

    And I want to copy each of these serial1.txt to different paths?

    So at this time, I ve work and the file is ready, but this archive search just like that: Directory directory main/2nd / 3rd/files in the directory... I mean if the files is deeper and more subdirectorys, does not works well for me.

    Im working in mode lab 8.5 but when I tried to put the .exe file in the computers where I get my files, sorprise! computers have the express 7 or somethig like that so I can't use my file. IT is possible change the version of my file to version 7?

    In the Project Explorer, click right-click build specifications and select new > Installer. After that, you should be able to follow the instructions in the online help.

  • HyslJavaService.exe the viewer error event

    The event viewer is pulling up an error

    a Sidebyside error every two days which says:

    "Activation context generation failed for"c:\Oracle\middleware\epmsystem11r1\common\utilities\javaservice\HyslJavaService.exe". Dependent assembly
    Microsoft.VC90.ATL, processorArchitectrue = "x 86" publicKeyToken = "1fc8b3b9a1e18e3b", type = "win32", version = "9.0.21022.8" was not found. Please use sxstrace.exe for detailed diagnosis.

    I don't know why this error occurs. Anyone has any reason why this would take place?

    Workaround is to manually install the 32-bit version of VCRedist

    KosuruS

  • cmd temporarily, but do not launch .exe programs load correctly.

    As the title says, I had this problem for a while. Whenever I or a program tries to access a program exe to start or install something, the cmd window, giving a brief description of what it is and then goes immediately. None of the programs never anything. What can I do to fix this? Thanks in advance.

    Hello Jackie,.

    I suggest you follow the methods below to solve the problem:

    Method 1:

    You try to run the program in clean boot mode. You can use a clean boot to load only the Microsoft process to see if this happens because of something in the operating system or a third-party program. Please visit the below mentioned link to run the computer in clean boot mode.

    http://support.Microsoft.com/kb/929135/en-GB

    Method 2:

    Run a scan online from the link mentioned below, to check if the computer is infected with some kind of virus

    http://OneCare.live.com/site/en-us/Center/whatsnew.htm

    Method 3:

    If the problem persists, try to create a new user account and check if that helps. Please visit the below mentioned link:

    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    Kind regards

    GauravPrakash - Microsoft Support
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Can I use view Lab for agent based modeling?

    Dear all,

    I have a project to do, it is the optimization of the costs associated with the management of the maintenance in a particular type of contract.
    I'm looking to take an agent based modeling for the project. I just started using Labview and I don't know if I can do this type of approach of modeling with Labview. Can someone please confirm that I can do and also if it is a familiar topic show me the first steps.

    Thank you

    David

    SebSieros wrote:

    Hi David,

    Could you please clarify what you mean by agent based modeling in detail and what exactly are you trying to accomplish?

    I'm forwoard to hear from you.

    Kind regards

    SEB

    Hi Seb,

    What I'm trying to accomplish is a cost optimized by trading off between 3 different area (work, logistics and spare part). each region has its sections and subsections. the important part is that there are a lot of interactions between the sections and subsections of the main area 3. simple project in word is: change the cost of training and see the impact of it on the cost optimized or by selecting the supplier has, that provides point x cheaper supplier B taking into consideration that for a provider, there is another logistics plan and method or sometimes more training is needed and finally see what's going to happen at optimized cost

    I draw a conceptual framework that is simple to introduce the project more clearly. Please see the attachment. I gladly delete it any time if you need.

  • Problem view Lab mathscript rt suite student edition

    I bought the suite 2012 Student edition software recently, according to the descriptiton on NOR it should have mathscript on it, but I get error when I run mathscript below. Comments about how to solve the problem would be appreciated.

    LabVIEW: Module MathScript RT is not installed on this computer, expired or is terminated improperly. Install or activate LabVIEW MathScript RT Module on this computer to continue using this product. Visit the Web of National Instruments to ni.com buy these products. If you have already purchased this product, select help > activate LabVIEW components to activate this product.

    This is the link I bought:

    http://E5.OnTheHub.com/WebStore/OfferingDetails.aspx?WS=49c547ba-f56d-DD11-bb6c-0030485a6b08&VSRO=8&...

    I run window 7.

    Setup may be separated on these discs or on another drive anyway, your serial number needed to activate it and it still would be set up as its own separate module. Please download the module Mathscript RT the link in my first post. You can also download other modules of our Web site and should be able to enter your serial no for them to activate in the License Manager EITHER.

    It looks not to the module Mathscript RT is installed or installed in the wrong order.

  • Need help... Faced with problems of view lab...

    Hello

    Background information on my system/software:

    I am using a snow leopard Mac system and running a student version of labview 2011 edition.

    The labview-2011 edition student was purchased from e5.onthehub.com, such as recommended by my University.

    Problem:

    The problem that I am running is that I have several missing features in my palettes...

    Is anyway to fix this?

    * Check the attached photo *.

    Any help with this problem will be greatly appreciated!

    Thank you!

    According to Dennis, not go on those on Mac. The reason is that they are based on ActiveX controls, and Mac OS does not support ActiveX.

  • I need a solution for a problem to view lab application and Installer



  • Wow Launcher must write access to patch the game

    I try to run WOW and coming pitcher id the message "Launcher requires the permission of writ for the 'file' sucessfully patch the game directory.  Please allow write access to the directory by using the administrator account. "My account is Administrator and XP does not allow me to take the reading single tag out of the directory I did several things, including going into safe mode and in taking possession of the file.  Nothing works.  Is there and another way to get the file to be able to have write access to it at all! Nothing in this Ant is for Windows 7, I did not and do not care for the moment I am on XP.

    you have probably had this problem, because yesterday way patch day and everyone wants to see the new content.

    But check first that this.
    http://support.Microsoft.com/kb/308419

    If you are not joined to a domain and want to view the Security tab, "" discover the game, view, change, or remove special permissions for files and folders "" section in this article.
     
    should fix you up. MCP. MCDST. LVL 80

  • Lsass.exe on Vista constantly reads and writes three times. How can I stop this please?

    After starting calm down.  Task Manager indicates that LASS. EXE continuously reads and writes.  It shows three readings and three written a couple of times per second.  The readings are still 204 bytes and the writing are always 132 bytes.  This action stops.

    I searched the web for answers and tried all the suggestions and nothing worked.

    Any ideas please?

    Hello

    I suggest you go through the link that talks about a similar problem.

    http://social.technet.Microsoft.com/forums/en-us/itprovistasecurity/thread/03638144-f4da-4349-B246-a27ec3727e70

    You can also post your question to:

    http://social.technet.Microsoft.com/forums/en-us/itprovistasecurity

  • launch an exe from a swf

    For a long time I have played with anything whatsoever in FLASH, so it may not be a solution.

    We have some exe files with the content of the training that we host on our database.  We want to make them play since a swf that opens on a new slide, a button of completion when the exe reading ends.  We usually use Captivate, but I'm not having any luck have Captivate launch exe files, so I thought I'd see what you all fly away.

    Thank you

    Susan

    It makes more sense.

    Unfortunately something as simple that the setting of the end action to open a file or a URL would nothing more than what Flash would do with navigateToURL(). If you specify the .exe of the course if he tries to load this .exe in a browser which will probably just ask you to save the .exe (like Chrome). To my limited knowledge of Captivate, there are no simple built in interaction capable of launching an .exe, especially not since a SWF as he always limited the capabilities of SWFs. Launch of executable files is not an ability to a SWF file, without worrying about whether Flash or Captivate made. And you couldn't watch the process of the EXE for a SWF to know when it ends without worrying.

    Are executable files, you must run simply other projectors Captivate or Flash projectors and if so you have access to the source files for them? If you can get just those published in SWF, then you will not need to launch an executable at all. It is the ideal way.

    If this isn't the case, then I think that you are up a Creek without a paddle without invoking an advanced solution. This goes against what seems to be your desire, however, who should not use executable files, but only an executable with permission to run a process is able to start one of these .exe.

    For example, you could publish your course in format SWF from Captivate. You can import this SWF in a Flash project and then use the features of Flash/AIR. You have to find a way to detect the end of a Flash of Captivate race by recovering to issue something could detect Flash/AIR (maybe it's the last frame of the SWF file or something else easy, or you might need a tip action). Once that alerts you Flash/AIR that the quiz is over, AIR would be able to launch an executable.

    Apart from that I don't see what you want as possible with Flash. The executables are the OS-level security and SWF is just not capable.

  • World of Warcraft Launcher

    I have seen this problem mentioned awhile back, but am unable to comment in this thread, sorry for repost.

    Here's what this person has posted:

    "I'm launching WOW and the Launcher is to come up with the message that"Launcher requires write permission to the directory of 'file' sucessfully patch the game.  Please allow write access to the directory by using the administrator account. "My account is the admin and XP... »

    These patches have been given, then I tried them:

    (1) right click on the launcher and run as... Administrator.

    (2) If you are not joined to a domain and want to view the Security tab, the section "" discover the game, view, change, or remove special permissions for files and folders "" in this article.

    It's my problem, I think... Simple file sharing must be disabled so that I can change the special permissions for the pitcher, however, according to the http://support.microsoft.com/kb/307874/

    You cannot disable Simple file sharing in Windows XP Home Edition.

    So, how can I change the special permissions for the WOW Launcher without being able to raise the Security tab by deleting the simple file sharing?

    Thank you

    Just for the record, it is a very well known problem with WoW.  The downloader has been a disaster for years.

    Rather than changing the permissions on the Launcher (which initiates the download of patches), change the permissions to allow the account that you use to change the files in the installation path of WoW.

    Personally never heard talk about what happens on XP, just Vista and Win7 due to UAC.

    Sounds to me like most likely you followed the wrong instructions on accidents and the permissions of the actual files drove, and I see him with 2 options.

    Better: Try to launch WoW.exe (not launcher.exe) manually, navigate to the folder and run as account.  It will bypass the pitcher and the game itself will try to install the patch.
    Next: Try to launch WoW.exe using RunAs Administraor.
    Next: Completely uninstall WoW and start over.
    Next: Enforce your permissions to accounts on the entire WoW folder install.

    In addition, make sure to back up what you want to keep.

    Good luck :)

Maybe you are looking for