Opening other programs via Labview?

I am looking for a way to open an executable file using Labview. 
The executable is not a Labview file - I just want Labview to open it
so that the user my manually interface with it.
If possible, I'd like to know if Labview can simulate keyboard inputs
into the same program?  As an overall example:  Starting the
VI will (among other things) open the separate exe file (which opens a
display window), then at specific time intervals keys in commands into
that exe window.
Is any of this possible without having to reinvent the wheel?

Hello,
Check out my post in the following thread: (3rd one down chronologically I think, but the order depends on your forum view)
http://forums.ni.com/ni/board/message?board.id=170&message.id=163151&requireLogin=False
For simulating keystrokes in the OS, you can record keystrokes using a macro (various programs allow this) and then probably run that macro from LabVIEW.  Although I haven't done this, if you google "keystroke macro" (without quotes) it should return a number of relevant products - at least it did for me .
I hope this helps!
Best Regards,
JLS
Best,
JLS
Sixclear

Similar Messages

  • My ipad2 can't open a program in the explorer. It says that I need to download windows explorer 6 or higher. It opens other programs. How do I download windows explorer 6 or higher?

    My ipad2 can't open a program in the explorer. It says that I need to download windows explorer 6 or higher. It opens other programs. How do I download windows explorer 6 or higher?

    That is because whoever programmed the web site used Internet Explorer extentions. These will only run in Internet Explorer. So, use a computer with Windows to use that web site.

  • How do i open other programs

    im new to flash so i dont know a lot.
    first of all how do i get flash to open other programs,
    and how do i get flash to open html links?
    thanks a lot.

    to open links use getURL
    and for opening exec files (only for stand alone
    applications) use
    fscommand("exec", "your.exe");
    executable files must reside on fscommand folder placed in
    the same level as the flash .exe file.

  • Program starting when open other programs

    How do I correct this problem: When I open other programs on
    my computer, Contribue 3 starts loading? It happens repeatedly and
    is now getting annoying.

    I had this same odd problem on my laptop. I fixed it by
    uninstalling Contribute 3, and then reinstalling.

  • How do i open and control other programs using labview?

    I'm presently trying to use labview to try to open and operate another program,but having much difficulty.The external program i'm using is called the Foundation program.
    This Foundation program will use VHDL programming to create a virtual chip and then synthesising it.This program will then simulate the output of this VHDL program to verify that it is working as desired.Then the last stage is to download the whole VHDL program into a FPGA chip using a xilinx cable.
    All this need to be done using a labview program - to open the Foundation program and then extract the saved file and then to execute the download command to cause the VHDL program to be downloaded onto the FPGA chip.How do i go
    about doing all this?What is the first step i must do.Also all this have to be done thru networking..looks like its too difficult..I really need help.
    grays

    I haven't done VHDL so pardon my ignorance.
    LabVIEW can call external DLL via "Call Library Function" or C programs via "Code Interface Node", both located in "Advanced" function.
    If your program is a DOS program, use "System Exec.vi" found in "Communication" function. If you need to format your DOS command prior to sending it, use the "Format Into String" function in "String" function palette.
    Lastly, if you're trying to extract data, assuming it is text, use "File I/O" functions. If the data is binary, use "File I/O -> Binary File VIs".
    Hope that answers most of your questions.
    Shan Pin Koh

  • Fix for iTunes and Stuttering Audio Upon Opening Other Programs

    This was answered for me in another mega thread, so I thought I would create it's own topic in hopes of helping as many people as possible.
    This is a fix for those that have the problem of iTunes 7 working fine alone, but when opening another program such as a game, etc., iTunes 7 begins to stutter and crackle. This fix assumes that otherwise, the program works correctly (gapless, and other issues are not a problem, no blue screens of death, etc.)
    First off my machine:
    Dell XPS 3.4 ghz Pentium Dual Core
    2 Gig RAM
    Creative SB X-Fi audio card, latest drivers installed
    Observed problem:
    Running iTunes 7, audio sounded fine, but opening another program such as UT2004 (first person shooter game) caused iTunes 7 to stutter and crackle.
    This was not an issue in iTunes 6.05. I had to upgrade as I just purchased the new Nano.
    As an aside, I have another sound card on my computer, an older Layla Echo 24 professional soundcard, drivers are about 3 years old. When selecting this card, this problem does not occur.
    The Fix:
    Close iTunes 7
    Upgrade your sound card drivers (just to eliminate that as an issue)
    Upgrade to latest Microsoft direct X version:
    http://www.microsoft.com/downloads/details.aspx?FamilyId=2DA43D38-DB71-4C1B-BC6A -9B6652CD92A3&displaylang=en
    Start
    Run
    Type: dxdiag
    Click "sound 1" or similarly named tab
    Slide bar to "basic acceleration" (mine was at full, and basic is two clicks to the left)
    Exit
    Restart iTunes 7, and startup music
    Open game, or other program
    Your music in iTunes 7 should now be stutter/crackle free
    This may not work for everybody, but it worked for me so I thought I would pass this along.
    Good luck!
    (resisting urge to type some snarky remark to Apple that somehow their programmers are indeed as human as Microsoft programmers)...oops...sorry about that.
    Dell XPS Windows XP Creative SB X-FI Audio Card
    Dell XPS   Windows XP  

    i was hopeful, but it didn't work. well teh one thing that i had to do diff was the dx updating, WGA doesn't like to work on my system for some unkown reason (yes it was bought at a store) so i found a way around their WGA check for it (i think) the one i got was labeled as dxwebupdate for august 2006. it updated just fine and it looks like it should be the same one as the newest update release microsoft sent out
    my system is a home built one and haven't had probs with itunes with any other version, until this one. i'm tempted to just go back to the newest version 6 i have, cause this is rediculous. i can't do anything without it sputtering away at me. i tryed uninstalling it and removing every trace of its exsistance off of the system (including registry) and that didn't work i made sure all numbers were set to the correct values for my sound blaster audigy gamer, i was using some non oem drivers, but switched over just to make sure witht eh newest ones creative had, and it made zero diff.
    i'm wondering if it is an issue it is having with sound blaster cards...
    well anyways if anyone else has any ideas i would like to hear them

  • Cannot open tiscali mail from firefox though can open other programs and can open tiscali mail in IE

    I use tiscali for mail. I can get to it with no problem at all in Internet Explorer. In Firefox I cannot get to it, though I can get to other programs.

    Websites remembering you and automatically log you in is stored in a cookie.
    * Create an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    Make sure that you do not run Firefox in Private Browsing mode.
    * https://support.mozilla.com/kb/Private+Browsing
    * In [[Private Browsing]] mode all cookies are session cookies that expire if that session is ended, so websites won't remember you.
    * Do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
    Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    * http://kb.mozillazine.org/Cookies

  • How to open other programs (Say MS Office word ) through java code.

    Hi,
    Scenario is...
    When we click a button i need a new (blank) word document to be opened (in MS office).
    MS office is just for an example. It can be acrobat reader,winamp,windows media player
    If you dont know the way to do this, please dont post "It is not possible".
    Thank you
    Ashish P.J

    ofcourse by using "process" and "runtime" and "exec" i can open a notepad,calc....
    exec(notepad);
    exec(calc);but what about excel? or word or other applications...
    exec(excel);wont open a blank excel sheet
    even if i give the path to excel(C:\Progarmfiles\.....what ever)

  • Possible to use mySQL, an open source program with Labview without the use of toolkit, just like we can do with MySQL with Command line.

    Hi i am trying to see if I can use sys exe .vi to execute Mysql commands. Is it possible to use without toolkit?
    regards,
    Clement

    Hi. I know there's a free toolkit that use ADO. But the problem is that my company not wish to splurge on the purchase of MS database server or  alikes, but prefer to run MySQL. So can I do the labview with the MYSQL only?
    Clement

  • Opening other programs, like ftp.exe

    Hi,
    I have a trigger that writes to a text file, which is then ftp'ed onto a web server. I originally set up a scheduled task (in windows) to ftp the text file every couple of mins, but would now like to be able to ftp the contents whenever the trigger is executed. Is is possible to specify to start running ftp.exe with all of the parameters I have specified for the scheduled task?
    If I cannot call another program, is there another way to ftp this text file whenever the trigger is excuted, or the contents of the file changes? This does not necessarily have to be something within Oracle, but I have very limited programming knowledge and no resources (I think!!) to be able to develop something using C++, etc. Someone mentioned to me a batch file to check when the last file was updated in VB, but I don't know how to do this, so am wondering if there is another way?
    Thanks,
    Dan

    Well,
    There is no quick way.
    1) You could write an External Library C program to system out to ftp.
    2) You could embed a java class to ftp the file and wrap it as a stored procedure/package, then call it from your trigger.
    3) You could just email the file, see UTL_SMTP (I've written a wrapper around that).
    Others may have addtitional ideas.

  • Firefox remains as the topmost screen when I open other programs, so I can't see them unless I shrink Firefox. How to fix?

    Above says it all--I would like the program I click on from the tray to BE ON TOP. This problem doesn't happen with other browsers. Windows 7 professional.

    Please upgrade to Firefox 36.0.1
    Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift><br> ''(Mac Options)'' ''' key, and then starting Firefox. Is the problem still there?

  • Opening other Program's?

    Hi Quick Question(dunno if I'm in the right forum or not)
    Is it possible to open a game i've written in C++ (i has as an application) with a Java Application or JApplet?
    if so, i have searched the Net, and JAVA API, and i can't find anything, i thought i'd seen a command "system.(something)" written in a book somewhere. but i cant remember
    Many thanks
    Andy!

    jGardner wrote:
    And Process for communicating with it.
    Nifty... when did we get the ability to use links? I don't remember that.For some time. It was turned off for a spell because someone was hacking the forum and inserting goatse images.

  • I want to send 10 bit ADC from PIC via serial communicaton. i send it separetly 8 bit first then the other 2 bit. how to program in labview to capture those two packet then combine it togother

    i want to send 10 bit ADC from PIC mCu via serial communicaton.
     i send it separetly 8 bit first then the other 2 bit (2 bit --> with zero at 6 bit from LSB).
    how to program in labview to capture those two packet and then combine it together
    so i have 10 bit in lab view
    thank you

    Close, but now quite. You need to specify to the VISA Read how many bytes to read, not how many bits. Thus, the input would be 2, not 16. It's also not clear why you're trying to use the "String to Byte Array". The Type Cast will give you a number based on what data type you wired. You're basically telling it how to interpret the string. In this case we're telling it to interpret the string a 16-bit value, so we'll get a 16-bit integer. I know you said you wanted a 10-bit, but you can't have that. You'll get a 16-bit with 6 bits set to zero. Note: I did not completely understand what you said so we may need to change this slightly, but we want to get the communication and reading collection working first.
    Also, since you seem to be setting this in a loop you probably want to monitor this or to collect the data. For that you need a shift register. See attached for a modified version of your attempt. You need to set the datatype to I16 or U16 based on whether the value you get from the PIC is signed or unsigned.
    Message Edited by smercurio_fc on 05-01-2007 02:28 PM
    Attachments:
    Read PIC.vi ‏21 KB
    Read PIC.png ‏7 KB

  • Some binary data recoreded by labview cannot open by other program

    I have got some binary data which is recorded by a labview program. When I use some other program to open it (e.g. matlab, notepad, MS excel), it become some strange character, but when I use another labview retrieval program to open it, there is no problem. What happen?
    The original data is 32 bit data sets which are separated by a <CRLF>.
    The recording program (HS-Acquis.llb), the retrieval program (Advanced Viewer.llb), original data file (C1010710.480245) and the data file after retrieval (C1010710.480245.txt) was attached
    phy_mechanic
    Attachments:
    attachment.zip ‏1279 KB

    The data seems like it can only be read by LabVIEW because LabVIEW is set up to properly read the binary data and it is simple for a user to do.
    For matlab to read the data, it will have to be properly configured.
    FOPEN     -     Open a file
    FREAD     -     Binary file read
    FWRITE   -     Binary file write
    FTELL      -     Return the current file position
    FSEEK     -     Set file position indicator
    FCLOSE   -     Close a file
    An example is given from http://www.mathworks.com/support/tech-notes/1400/1​403.htm:
    %This m-file is a short example of how to read and write a binary file
    %in MATLAB using low level routines
    %write file
    fid = fopen('square_mat.bin','wb') %open file in binary write mode
    fwrite(fid, 'This is a square matrix', 'char'); %insert a header
    fwrite(fid, [1 2 3; 4 5 6; 7 8 9]', 'int32'); %write data to file
    fclose(fid); %close file
    %read in the same file
    fid = fopen('square_mat.bin','rb') %open file
    bintitle = fread(fid, 23, 'char'); %read in the header
    title = char(bintitle')
    data = fread(fid, [3 inf], 'int32') %read in the data
    data_tranpose = data' %must transpose data after reading in
    fclose(fid) %close file
     As you can see, the data type, size, array size, etc. has to be explicitly defined. In addition, as Dennis alluded to, LabVIEW stores binary data in Big-Endian format, wheras most windows applications use little endian. I assume matlab is one of those applications...but I am not a huge matlab developer. Google may have more information on that. You can use a typecast in matlab to convert big to little and little to big, however, so that may be a great place to start. Please see http://www.mathworks.com/access/helpdesk/help/tech​doc/ref/typecast.html
    Of course, our wonderful applications engineers at National Instruments have already done the above work for you and developed Knowledgebase 11SF83W0: How do I Transfer Data Between The MathWorks, Inc. MATLAB® Software Developm...which is easily searchable from ni.com knowledgebase category using 'matlab binary'
    Rob K
    Measurements Mechanical Engineer (C-Series, USB X-Series)
    National Instruments
    CompactRIO Developers Guide
    CompactRIO Out of the Box Video

  • Find names of all open windows including other applications besides LabView VIs

    Hi All, I have researched this subject, i.e., to find names of all open windows including other applications besides LabView VIs, but found no solution. Could someone suggest a solution to this?  Thanks.

    Hi,
    Certainly! The Windows API Function Utilities (32-bit) for LabVIEW includes set of LabVIEW libraries (llb) with VIs that make calls to the Windows Application Programming Interface (API) for managing and controlling windows (minimize, maximize, move, resize, rename, close, and so on) including task list with names of windows application running. The Readme.doc contains information on running these VIs.
    Attached below is a zipped file with a VI that list the names of all opened windows.
    Tunde
    Message Edited by Tunde A on 04-18-2007 02:28 PM
    Attachments:
    List Windows Application LV8.0.zip ‏55 KB

Maybe you are looking for

  • TS3694 Getting "Error 7 (Windows error 126) when trying to upgrade or reinstall iTunes on PC running Widows Vista.  Any suggestions?

    Hello - Have been running iTunes on Windows PC for many months.  OS is Vista.  Today when prompted to upgrade iTunes and iCloud Control Panel, the upgrade failed.  Message received was "iTunes was not installed correctly.  Please reinstall iTunes.  E

  • Photoshop doesn't show Lightroom settings, like cropping

    Hello, - I'm on Mac OS 10.9.1 (Maverick) - I have a scanned tiff file inported in LR 5.3 - I do some adjustments in LR, like cropping, curves, etc... - I choose "Modify in Photoshop CC", with the top option "Modify a copy with lightroom settings" (su

  • Installing own kernel...

    I have no problem git cloning my kernel of choice and configuring. My question is when compiling a new video drivers or any other package that might be dependent on Linux sources. I usually use the /usr/src directory. I am having trouble with the PKG

  • Call to java bean but code not being executed.

    Making a call to my javabean class called ch06_03.java from a jsp program shown below: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Using a java package.</title> </head> <body> <% beans.ch06_03 messager = new b

  • Only one special char is shown in rsallowedchar table

    Hi All, As far as my knowledge is concerned, BW allows 72 special char using RSKC, but when I see the table RSALLOWEDCHAR table it shows only one char of latest entry, all the previous entered char have not been shown there? how this magic? Please ex