Can control LabVIEW, another program or emulate the keys on the keyboard?

Hi all!

I have an ultrasound machine (it's Windows XP based, so treat it like a normal PC), which records an image whenever I press Ctrl + S. What I try (which I don't know if that's possible), it's that for labview simulate the next step:

1 button, press Ctrl + s to save the image

2 LabVIEW access the folder where the image is saved and rename the file in image1.img

3. Select the program by ultrasonic inspection and press Ctrl + S again

4 Labview, navigate to the folder and rename the file in image2.img

5 switch back... and on and so forth.

I think when you rename the file is very feasible to my memory (no have not used LabVIEW in a long time), but I don't know if the keys Ctrl + S, and switching between programs is feasible with LabVIEW.

Thank you all so much for your support! Enjoy it!

You can send keys using the Windows API. Looking around it has developed several times. Search for sendkey or similar. Regarding the name change, use the move feature in the file IO. Regarding activation of the window, even once, you must use the Windows API. You can get a bunch of utilities here.

EDIT: Another method is to use a utility like AutoItautomation. It has an ActiveX interface that can be called from LabVIEW. I showed examples of using this, looking for so if you are interested.

Tags: NI Software

Similar Questions

  • My Webcam has problems detected by Skype and repeat myself there is another program that uses the webcam. Skype device code 43 usb video.

    My Webcam has problems detected by Skype and repeat myself there is another program that uses the webcam.

    Also got the guests when using Skype as a video device usb was not detected and that it is a code 43.

    Have tried several way sto resolve this problem. CyberLink YouCam HP's running came preloaded on the laptop. The webcam is running when this program is being used separately.

    Inappropriate Feedback Forum of Windows hardware and drivers Forum.

    My Webcam has problems detected by Skype and repeat myself there is another program that uses the webcam.

    Also got the guests when using Skype as a video device usb was not detected and that it is a code 43.

    Have tried several way sto resolve this problem. CyberLink YouCam HP's running came preloaded on the laptop. The webcam is running when this program is being used separately.

    Inappropriate Feedback Forum of Windows hardware and drivers Forum.

    Hello, Aadi467,

    A device driver has notified the operating system that the device failed.

    Run the diagnostic tool of hardware devices do not work or are not detected in Windows on the Microsoft Fix it Center.

    You can also uninstall the software from Cyberlink.  There is a found here download link to reinstall the software after restarting the computer.

    http://h30434.www3.HP.com/T5/notebook-operating-systems-and/lost-my-CyberLink-and-UCAM/TD-p/760367

  • Problem with rename folders in Windows 7: get this error message: "the action cannot be completed because the folder or file is open in another program. Close the folder and try again. »

    When I try to rename a folder in Windows 7 I get this error message: "the action cannot be completed because the folder or file is open in another program. Close the folder and try again. "Can anyone help?

    I gave up and solved the problem by buying a third party software to use as a directory, Directory Opus.  It is much more functional than the Microsoft Directory and I have never problem renaming of files.  I am just amazed that so many people have this problem and Microsoft has not fixed.

  • Why I am constantly a message saying that another program has changed the metadata?

    I get all the time on the images. I've never used other programs. And I can't find a way to each work on why I get the message. Also, I don't know whether to choose settings to import from disk or to replace the settings because I have not actually used another program. To add to the problem, I can't find a way to add a response to all of the photos at once and thousands seem to be affected. Ideas anyone? Windows 7, just upgraded to 6 of Lightroom, but it happened with Lightroom 3, 4 and 5 as well.
    2016-02-20_120120.jpg

    You use Bridge or Adobe Camera RAW?

    If you use another program other than the latest version of LR, LR 3,4 and 5.

    Choose a version of LR and stick to it. Then once you know that you have all of your presets and other custom settings carried over to LR 6, you must uninstall at least versions 3 and 4

    You can select all the images made and click on the exclamation mark (!) in one of them. You must select in the grid view not in the film strip to apply the changes to all of those at once.

  • Why Firefox tells me "another program is using the file" 1 hour after the update of Firefox, when I click on the desktop icon?

    It happened when I tried to update c. 16 to 17 as well. I had go it and download v. 18 and he told me that she had and he asked me to restart Firefox. I clicked on the "Restart Firefox" button. He closed Firefox 17. I waited an hour and no Firefox had begun. I clicked on the icon on my desktop for Firefox, and I got a window with "another program is using the file.

    The last time that happened, I had to uninstall v. 16, use Opera 12.12 to download version 17 and then installed, to have to set my preferences just a little and then I could start v. 17.

    Why update your program allows me to update, instead of downloading a new program?

    I'm on Windows XP SP3 and a very fast motherboard.

    Finally, I decided to check if my AVG antivirus or IOBit Malware Fighter software is interfering and I disabled them temporarily. I restarted and then turned off these programs and then opens Firefox. It was as usual, 17.0.1 version not updated. I went to help, on Firefox, click Find updates. Downloading updates, invited to restart Firefox, and after closing Firefox, I got the window that says that he was installing the updates, for the first time for an attempt to update to version 17 or 18. He installed the updates and restarted in fact without any problems.

    I was about to turn off all of my Add-ons for the next test. I never had to disable my AVG or IOBit before and they are the latest versions, too. AVG is the same version that allowed the update to v. 16 before. If something is different both Firefox 17 and 18, that it will not allow updates with AVG in force (or possibly IOBit Malware Fighter).

  • I downloaded the trial version of Adobe Premiere, but I can't open in programs, also in the creative cloud. How can I open it?

    I downloaded the trial version of Adobe Premiere, but I can't open in programs, also in the creative cloud. How can I open it?

    You MUST have a 64-bit computer and operating system... What is your computer?

    -Programs are supposed TO not view or download if they are not installed on your computer

    MINIMUM for After Effects and Premiere Pro http://helpx.adobe.com/premiere-pro/system-requirements.html

  • Can't open some programs due to the DEP.

    Hello! I tried to open programs like iTunes and Fine Pix Viewer on my PC (Windows Vista home premium 64-bit) and I can not anymore. He used to work before, but in recent months it doesn't.
    Help me please, once I have no idea what to do.
    The following message appears: "(nom dele de programme) has stopped working." A problem caused the blocking of the program works correctly. Windows will close the program and notify you if a solution is available. "And then:"to help protect your computer, Data Execution Prevention has closed (program name). Click to learn more» Then I follow the instructions and try to turn off DEP for the specific program and pops up this message: "Data Execution Prevention - this program must run with data execution prevention (DEP) enabled." You can't turn off DEP for this program.
    Thank you
    Rick

    Hello

    The problem might actually be an add-on or another program to the origin of the problem and you should check that
    1st.

    What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER on it
    machines, including those that you have uninstalled (they leave leftovers behind which can cause strange problems).

    Start - all programs - Accessores - system tools - IE with no Addons - does this work better?

    IE - Tools - Internet Options - Advanced - tab click on restore, and then click Reset - apply / OK

    IE - Tools - Internet Options - Security - reset all Zones by default level - apply / OK

    not better?

    Try IE or IE with no Addons

    IE - tools - manage Addons (for sure disable SSV2 if it is there, it is no longer necessary but Java always install
    "(and it causes problems - you never update Java to go back in and turn it off again)." Search for other possible problems.

    Windows Defender - tools - software explore - look for problems with programs that do not look right. Permit
    are usually OK and "unauthorized" are not always bad. If in doubt about a program to ask about it here.

    Could be that a BHO - BHOremover - free - standalone program, needs no installation, download and run - not all
    are bad, but some can cause your question. (Toolbars are BHO)
    http://securityxploded.com/bhoremover.php

    Startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    Also get Malwarebytes - free - use as scanner only. If you ever suspect malware, and that would be unusual with
    Prevx running except a low occasional (not much), updated cookie, and then run it as a scanner.

    I would add prevx so.

    Prevx - Home - small, fast, exceptional CLOUD free protection, working with other security programs. It comes
    a scan only, VERY EFFICIENT, if it finds something to come back here or use Google to see how to remove.
    http://www.prevx.com/

    PCmag - Prevx - Editor's choice
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

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

    Do yourself a big favor and work through 1 above.

    How control DEP but I don't recommend turning it off and certainly not to let power off.

    How to enable DEP on or off for a program under Vista
    http://www.Vistax64.com/tutorials/65790-DEP-turn-off-programs.html

    How to enable or disable DEP in Vista
    http://www.Vistax64.com/tutorials/120778-DEP-enable-disable.html

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • You can control volume with bluetooth headset and the new Apple tv?

    Hello community!

    I have a new Apple TV and I'm watching tv and movies series, but the only way I can do it is night. I don't want to disturb my family, so I was wondering if I can watch it with a bluetooth headset and control the volume. What I mean is if I can have a very low volume on the TV but more volume on my headphones. I can do with my PS4, but I have most of my movies in iTunes.

    Thanks for any help you can provide.

    You cannot output audio to the tv and the headphones at the same time if that's what you're asking. However, you will be able to control the volume of the headphones using the distance of Siri.

  • Why my LabVIEW 2010 program asked for the runtime LabVIEW 8.5.1 whenever it is launched after installation?

    It is a simple timer program that displays the elapsed time (see photos). I can't think of one thing that should be the cause... It started happening right after that I selected items of the scale with façade resizes and recompiled and re-installed the app. This was not the case before that when it is installed without the resize selection, but then I removed the selection and it still happens. Any ideas would be appreciated.


  • How can I disable a program installed on the public computer?

    I need to disable the programs installed in the public computer.

    I just wanted to use the effect, and I installed on the public computer.

    But I can't access the public computer anymore.

    Please help me.

    I still have the rest of the days to use the trial version.

    Install it on a computer that you have access to and to use it

  • How can I find which program works in the background

    Using the CPU meter, I see the procent of the CPU usage. Even though all programs are closed, the use is still 10 to 30%. This means that some of the programs installed is still running (perhaps updating auto or something else). I'm looking for who is he?

    [Moved from comments]

    Start the Task Manager and look at the Scriptures in the process tab (click the name image CPU to sort)

    Even with closed programs several background processes are running

  • Tecra S3: How to emulate the keyboard Fn key

    Hello!

    I use a USB external keyboard connected to the Port Replicator port on my S3.
    Is there a way to emulate the Fn key on the external keyboard?
    I would like to have access to the NF - F [1-7] functions, for example turning on bluetooth, suspending the laptop...

    Any help is appreciated!

    Thank you and best regards,
    Fabrizio

    Hi Fabrizio

    I think that it of possible to emulate the FN key on the external keyboard.
    Toshiba HWSetup must be installed on your laptop and this tool supports several options and settings.

    Simply select the tab called keyboard and set the option
    External keyboard key FN.

    good luck and greetings :)

  • Captivate 5-accessibility-how can I do questions Quiz accessible via the keyboard instead of the mouse

    Hello.

    I am trying to build an Accessible e-Learning module using Captivate 5.

    Can I use < Tab > and < enter > to navigate through the slides view and Table of contents.  However, I can't so far using just the keyboard to access and respond to questions of Quiz, which is true/false, Multiple choice questions.

    The user must be able to select the answer and click on send, using only the keyboard.

    How can I do in Captivate 5?

    CB.

    I tested it on a slide in question choice multiple in Cp5 and 5.5.  I tried only preview/5 slides so it's maybe different after being published and displayed in the browser.

    The first was a multiple-choice questionnaire.  When I tab it goes in the title of the question down through each of the responses, then moves to the Clear/send button I on the slide.  Using the SPACEBAR to substitute for a click seemed to work.

  • Cannot close My Documents, the window keeps reopening and is always in the foreground, can not use another program

    I have a serious problem with windows Explorer. It keeps opening in 'My Documents' and it is impossible to close. I can close it but it immediately reopens seconds - not enough time to click anywhere else.

    It is also blocked in the foreground so that I can't use any other program, the cursor will move immediately to My Documents as the active window. I can't even go to start - run - or Start - logoff or anything because as soon as I click anywhere on the active window is new my documents.

    I don't know what happened, but I think my 1 years pressed a weird combination of keys while she was playing with my laptop. It is not a virus, because I ran a full Kaspersky scan and everything seems fine. Everything works fine in safe mode as well. It's only when I go in the "unsafe" mode I have this problem. I tried to watch the registry key as he pointed to similar problems on these forums, but I can't find a userinit registry key. What can I please?

    Hello nikitaghosh,

    I know that you have performed a comprehensive analysis of Kaspersky and nothing came, but have you run any malware removal software?  I've included a link for the removal of malicious software below, please let us know status.

    Microsoft Answers:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-security/antivirus-2010-removal-the-virus-is-blocking/36d884f4-5fcc-46E9-9F27-cf189c131608

    Thank you

  • I can no longer uninstall programs by using the install/uninstall feature in Control Panel.

    I get the message ' could not open INSTALL. LOG file.  This has just begun.  How can I find this file to reinstall?

    I get the message ' could not open INSTALL. LOG file.  This has just begun.  How can I find this file to reinstall?

    See if this will help, since you said "it has started"...
    Do a system restore. Choose the date before having this problem as your restore point.
    Do safe mode:
    Here's how to get safe mode:

    Shut down your computer > turn it back on and immediately and repeatedly tab key F8 until you see a black and white screen. The top/down arrow and select Safe Mode.

    System Restore:
    Start button > Search box, type system restore > press the Enter key > uac prompt > click on choose a different restore point > next > select dates as your restore point, until the click > next > finish
    To sit and wait. The machine restarts when it's done.

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

Maybe you are looking for

  • 8007371c with windows update error code. Vista Home Premium 32-bit system.

    I have Vista Home Premium 32 bit system and I have problems with windows update since early April. The system attempts to update 2807986 KB, 2809289, 2808735, 2820917, 2813345, 890830 (eventually successful), 2817183, 2813170 and 2823324. These will

  • How do retrieve my Works 9 program preinstalled?

    Original title: works9 After having to replace the motherboard, have lost pre installed works 9

  • Number of certificate when you upgrade to 2.0.1

    In our VIO environment I had to change the VC certificate earlier. To operate the VIO again, I added the new certificate to /etc/ssl/certs/ca-certificates.crt on the controller * and compute nodes. This works as expected.Now I would upgrade to 2.0.1

  • How to get rid of the peaks of tittle

    I used a font called Cronos Pro "BOLD". I want to pet the word "Mariah", but when I add the line weight I want, form spikes on the letter M as shown below. I just want to add a shape to hide meanings, but the name is sitting over a complex object. I

  • PowerShell - add inventory

    Apparently, there is no powershell add-inventory with the vmx file commandcan you help me?