Labview as recorder.exe

Do you remember from ancient times, the Win3.1, program -
recorder.exe.
This file records the movements of the mouse and key pressed and
be able to do the same later on demand.
Can Labview control other applications while it is hidden and
other applications are "on top". Another words if it is possible
to emulate mouse and keyboard by Labview to be visible from
another applications as a normal operator work.
E.g.. (dummy) I have a CD-player and I want Labview to press
"start" button in this program every one hour. This is not real
example but this is what I would like to know.
thank you for help in advance
PP

This would be an interesting application! In order to control external applications, such as the CD player example you used, you would need to use ActiveX controls. You would need an ActiveX control for each application you want to control from LabVIEW. Now, one thing about ActiveX is that LabVIEW must open up the applications through ActiveX. In other words, you can not open Microsoft Word yourself and then have LabVIEW control that instance of it.
You would need to create a program which simulates certain clicks and selections and then run this program each time you want them to occur. Or, you could also put the VIs in a loop and have it run 24 hours, although this may consume needed processor power.
LabVIEW can simulate keyboard events. I am atta
ching a VI from the National Instruments website which shows how this is done. You may want to take a look at this.
Basically, what you are wanting to do is create "macros." They "record" actions that a user makes on their computer and then are able to "replay" these actions at later times. There are actually software packages that do this and they would be much easier to do that using LabVIEW to build your own. Here is an example of one. You may want to check these out because it sounds like this is what you are wanting to do.
J.R. Allen
Attachments:
Simulate_Keyboard.vi ‏41 KB

Similar Messages

  • How to convert labview program to .exe file?

    Is it possible to convert VI file into .exe file? How to go about doing it?

    hi
    you simply need to use the application builder - included in LabVIEW professional version or you buy this tool separately.
    Remark: On target machine the Run time engine (for free) has to be installed.
    regards
    wha

  • Labview generates an exe file but cannot close it properly

    Hi all, I have used source code to generate an exe file. And I also load dynamic vi using this exe file. However, right now it cannot be closed properly by clicking "X" on top right corner. I think it is caused by loading dynamic vi but do not know how to solve it. Could you help me about this? Thank you!

    Its here:
    C:\Program Files\National Instruments\LabVIEW 2011\examples\viserver\dynload.llb\Dynamic Load Example.vi
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.
    Attachments:
    dynload.llb ‏118 KB

  • Labview 8.5 exe appearance location

    hi all, after i make my labview to exe file, when click the exe, the program will appear on the screen but not in the middle of the screen? how to manually set up the appearance of the exe file so that it will appear on the location i set (i.e. top left corner, right side, bottom or random place on the screen).
    another question: is it possible to remove the title bar and the 'X' button of the labview exe form? hi all, after i make my labview to exe file, when click the exe, the program will appear on the screen but not in the middle of the screen? how to manually set up the appearance of the exe file so that it will appear on the location i set (i.e. top left corner, right side, bottom or random place on the screen). another question: is it possible to remove the title bar and the 'X' button of the labview exe form?

    These are all settable from VI Properties. Go there and select 'Window Run-Time Position' and 'Window Appearance>Customize'.
    p.s. What is a LabVIEW exe 'form'? LabVIEW has a front panel. VB uses forms.

  • Minimize LabVIEW Applicatio​n (EXE) to Icon on Task Bar?

    Hey,
    I want to run a LabVIEW Application (EXE File, LabVIEW 8.2) everytimes in backgrund. Frontpanel should visible only on activation. After minimize application only a small icon (not the large Task Button!) should visible on right corner of Task Bar. Is that possible by a LabVIEW Application?
    Thank's in advance.
    Kind regards
    C. Dietz
    Test Engineering
    digades GmbH
    www.digades.com

    C. Dietz, www.digades.com wrote:
    Hey,
    I want to run a LabVIEW Application (EXE File, LabVIEW 8.2) everytimes in backgrund. Frontpanel should visible only on activation. After minimize application only a small icon (not the large Task Button!) should visible on right corner of Task Bar. Is that possible by a LabVIEW Application?
    Thank's in advance.
    Kind regards
    C. Dietz
    The right corner of the Task Bar is called System Tray.
    This can be done with G Toolbox -> Systray Icon VIs:
        http://gtoolbox.yeah.net
    George Zou
    http://webspace.webring.com/people/og/gtoolbox

  • Will Labview 8.2 EXE (developed in windowsXP) run in WinCE?

    Hi,
    I have developed a labview8.2 EXE and installer in windows Xp. My client want to run this EXE in WinCE. 
    Is it possible? If so what all toolkit should i get to make it run.
    Basically my application uses NI Imaq and Visa for communication.
    Thanks,
    Vignesh

    http://www.ni.com/white-paper/4577/en
    Maybe this'll help.
    /Y 
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Can labview produce a .exe that will run on PocketPC or WindowsCE?

    Can labview applications be built into an executable program which will run on PocketPC or WindowsCE operating systems? If not, can source code be generated which can be compiled for these operating systems?

    You should be aware that the PDA module does not support many features which are available in the desktop version of LV. Try reading the documentation available on this site. If you want this, I suggest you wait for version 8, which appears to be much better in some areas.
    Try to take over the world!

  • Symantec antivirus & LabVIEW 7.1 exe's

    Anyone know of any conflicts with LV 7.1 exe's & Symantec AntiVirus Corporate 10.1.4.4000 on Win2k (and possibly XP)?
    Soon after we installed the antivirus update, LV7.1. executables began
    locking up the system when they tried to access a file.  Some of
    the system is still responsive (you can view the system processes, for
    example), but when you give a command nothing happens (restart, for
    instance, doesn't work).  The processor monitor shows 99% idle...
    almost like both the AV and LV are waiting for something.  The
    computer must be hard booted to restore it.
    While I'll be working on downgrading the antivirus, any ideas would be appreciated.
    Thanks,
    Joe Z.

    Thanks Ben, I wish you could too!  Given my druthers, I'd be working on a tree class structure in 8.20... maybe someday
    Tunde, check the attachments.  No relative file pathing functions, or really much of anything else.
    A quick test shows that running from the
    Start>>Run>>H:\bugcheck71.exe (for instance) exhibits the
    same behavior as any other method.  Once, it even locked up before
    rendering the front panel.
    It may very well be my (relatively standard) Windows network.  It has many of the hallmarks of a deadlock timing issue.
    To reproduce the behavior in the executable, you may have to rebuild it to suit your particular network mappings.
    1.  Open the bugcheck71.vi file.
    2.  Set the file control path to a mapped network location.  (It's currently set to select a directory.)
    3.  Set the file control path to default to that location, save, and exit the vi.
    4.  Build the VI into an executable.
    5.  Copy the vi to a mapped drive location.
    6.  (The hard part) Run the vi on a machine with the Symantec 10.1.4.4000 antivirus client, scan engine 61.2.1.10.
    7.  Click the browse button.
    As I've said, I don't see it on every machine, just most of them.
    Symantec shows that earlier antivirus clients could cause tcp/ip issues
    through the antivirus mail client snap in, which our IS is likely to have
    included.  Does the exe make any tcp/ip connections that the dev
    environment does not, or in a different way?
    Attachments:
    bugcheck71.zip ‏27 KB

  • LabView 2009 tagsrv.exe problem

    Hello!
    I installed LV 2009 on windows XP machine. On startup of computer the error in tagsrv.exe is reported. On Distributed system manager is not possible to see shared variable on network computers. Firewall is disabled. Do you have any idea how to solved this?
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    lv_err.JPG ‏19 KB

    Hello!
    I have done all proposed action:
    1. Disabled tagsrv.exe at startup of computer and later manually start. The result is the same. After startup the service system still reported same error.
    2. Uninstall all NI software and install again LV 2009. At startup of tagsrv.exe is again error reported.
    3. I can managed the shared variable on both PC (LV 9.0 and LV8.6), deploy is done without error, but later reading in the program the error -1950679027 is reported. All firewalls are disabled.
    Attachments:
    lv_err.JPG ‏19 KB
    Distributed system manager.JPG ‏81 KB
    Share variable in LV program.JPG ‏152 KB

  • Pda execute other exe from Labview

    I'm looking for ways to execute an exe from Labview PDA that is stored on the PDA (another PDA application)... I'm running WM5.0 ... .any ideas ...
    Greycat

    Hey Greycat.
    That is a great question!  So as you noticed there is no equivalent to System Exec in LabVIEW PDA, so you cannot launch an application that way.  I would think that there would be a DLL that could be called on the PDA that will allow you to launch applications.  However, after several Google searches I was not able to come up with any specific code or DLLs.  Once you found that DLL hoewever, you shouldn't have problems launch an EXE.  I am assuming that these are not other LabVIEW PDA built EXEs, which is a shame since you might be able to open a VI reference to that VI. 
    Andy F.
    Message Edited by Andy F. on 04-25-2006 06:52 PM
    National Instruments

  • Exe LabVIEW Version

    I have an exe compiled by a version of LabVIEW.  Is there a way to check which version of LabVIEW was the EXE compiled by?  
    Kudos and Accepted as Solution are welcome!

    The answer is, of course, "Maybe".  I just opened an .exe I built with LabVIEW 12, and used a text editor (on a binary file, yet!) to search for the string "LabVIEW".  I found a buried reference to labview/branches/2012/dev/plat/win/...  I don't know if this is in all programs (hmm, why don't I look at another one ... yep (I saved time by searching for "branches").  Not sure I have older .exe files, hence can't say whether all versions of LabVIEW do this (hmm, I've got some code from LabVIEW 7 on a VM -- just a minute ...  Well, searching for "branches" finds labview/branches/wormhole/..., not so helpful.  However, a search for LabVIEW found, mixed in among some binary stuff, the string "7.0".  Let's see if 7.0 appears in other places ...  Interesting, there are multiple copies of strings that look like "7.0b71?Oldest compatible LabVIEW" (the character where I put the question mark is really the character "^Z").
    Bob Schor
    Seek, and maybe Ye Shall Find ...

  • LabVIEW 8.2 -- "unable to locate LabView run-time" error message

    I am trying to run a LabVIEW version 8 exe file and keep getting the
    "Unable to locate" error. I downloaded LabVIEW_8.2_Runtime_Engine.exe
    from the NI website and installed the entire contents of the
    distribution. After getting the error, I have tried uninstalling and
    reinstalling several times, with the same result.
    Is there some way I can troubleshoot this? Is there a configuration
    file or a registry entry I can check to see where LabVIEW is looking
    for the run-time?

    Michael,
    As Dennis said you need to make sure the version of the Runtime Engine matches the version of LabVIEW the executable was created with.
    You can find different versions of the Runtime Engine on our webpage here.
    Regards,
    Simon H
    Applications Engineer
    National Instruments

  • Error in running exe

    Hi All
    I am getting some errors when trying to run a labview exe.
    I have to export the data into excel from labview.Withot making exe and running the vi it was working..But after making the exe i am getting error.
    I dont know whether its because of the way i build the exe(because in exporting to excel all i used was built in control for report generation).
    In the case of searching for the udl's name also i was facing the same problem.There is a vi that will find
    the current working directory and i have placed the udl inside the current working directory.Suppose my udl name is dat.udl.then a subvi will search for the dat.udl in the current path .the udl be in the path C:\Documents\dat.udl and i have created the exe say Data Entry.exe in tha path C:\Documents\Data Entry.exe
    Actually after making the exe i was getting an error related to the incorrect udl path,it was taking the udl path as C:\Documents\Data Entry.exe\dat.udl,Then i programmatically removed the string\Data Entry.exe from the current path so the vi will search for the udl in the correct path.(But i know that is not the correct way even i could solve that)
    These two related errors i was getting only after making exe and running the same.Otherwise it was working.
    Related to excel the error i was getting is...
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux.
    NI-488:  Non-existent board.
    VI Path: C:\Documents\Data Entry.exe\Excel_Quit.vi
    Built Application or Shared Library (DLL): Make sure all dynamically loaded VIs were properly included in the build specification for the application or shared library.
    While making exe,
    I have created .lvproj in the path C:\Documents\
    Then in Application information i have set the target file name as Data Entry.exe and the destination directory as C:\Documents\
    In source file and destination i havent changed as it was in the correct path.
    In source file settings under the inclusion type ,start up vi was set as the vi's name(data entry.vi) and under dependencies,vi properties are set(centre,remove menu bar..)
    and Data Entry.exe was selected already from the combo (from the options Destination Directory,Support directory and Data Entry.exe.But the title for the option (Set Destination for all contained items) was disabled already.Is the way i build the exe is the reason for error?
    How do i rectify the error?
    Thanks....

    Hi user_1,
    it's the same question/reason as described here!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How can I disable the access to windows 2000(O.S.) from LabView?

    I need to disable the access to windows when an application (exe), created by LabView, is running. When the application is running, the user can not acces to windows (for example, execute another application) until he stops the application.
    I am using LabView 6.1 and windows 2000
    Many Thanks

    Hi Francesc,
    There are a couple of options for this. One of them could be calling Windows OS activex components and making the Desktop invisible through labVIEW and then bringing it back on after the LabVIEW execution is stopped.
    The other option is to modify user settings on the target machine. I have tried this on windows 2000 and it works.
    Run "gpedit.msc" from your start menu. In the Group Policy template choose the user configuration that you wish to make the settings for. Expand User Configuration , expand Administrative Templates , and then expand System. Choose 'Custom user interface'
    In this panel select 'Enabled' and enter the interface file name, in this case C:\Program Files\National Instruments\Labview 6.1.exe. (or your own filepath\App
    lication.exe). Reboot the machine.
    This replaces the default windows shell (explorer.exe) with your LabVIEW executable. When the operator logs on, the only thing on his screen is the Labview application. No desktop, no taskbar, no start button.
    This can also be done through LabVIEW using register-level programming. But it would be a more complex approach.
    Hope this helps.
    Regards,
    Pravin Borade
    Applications Engineer, National Instruments

  • Firefox starts treating URLs with .exe in them as downloads instead of pages.

    I use an online database system which was written and compiled using CGI for VB. All of the URLs have .exe in them (e.g. http://www.website.com/record.exe?a=SMITH). I can work in Firefox for hours without a problem, but then seemingly at random Firefox will start prompting me with the 'save' dialogue, as if I was trying to download the .exe instead of just loading the URL. The only way to get back to normal is to quit the browser and re-open it. After that it's fine... for a while anyway.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

Maybe you are looking for

  • HP Laserjet 100 MFP 175nw, Printer loses connection and have to reboot to print

    This is super annoying.  Had this printer for a few months and it worked great. Changed my wireless password a couple weeks ago and now the dang thing has to be rebooted almost everytime it needs to print.  Today I did a fresh install on my iMac for

  • Strange error in a multiple choice quiz

    Hi - this is strange. I get no error statement BUT the third text option box does a false answer BUT not always - damn strange. var qno=0; var rnd1; var rnd2; tick.visible=false; cross.visible=false; var right_answers=0; var wrong_answers=0; Grammar.

  • Export/Encoding/Compression Error

    I have been trying to burn a DVD for the last week without any success using iMovie and iDVD. When trying to burn the DVD on iDVD, the program would "Unexpectedly Quit" while it is encoding the movie. It would encode the first 2-3 minutes of the movi

  • I cant email photos from iphoto, i just get an error picture of a camera with exclamation mark

    i cannot share photos from iphoto on my macbook pro anymore, since i upgraded to mountain lion. i just get an icon of a camera with an exclamation  mark next to it regardless of whether i select one or several pictures

  • How to track and find changes in StyledDocument

    Hello everybody! My name's yoni. I'm new to the forum, but consider myself an intermediate level programmer. To the matter at hand- I have a document which extends DefaultStyledDocument. I'm trying to implement syntax highlighting for the document (w