LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

open a program in labview and send keysstrokes to it

I want to open another program in labview and when opened send keystrokes and key combinations to it.
Is that possible ?
0 Kudos
Message 1 of 3
(2,699 Views)
Take a look athe example vi 'Basic Input Demo.vi' shipped with LabVIEW.
Go to Find Examples>>Building User Interfaces>>Acquiring User Input>>Key board and mouse>>'Basic Input Demo.vi
 
Hope this is what you are looking for
0 Kudos
Message 2 of 3
(2,695 Views)
That example shows how to capture keystrokes in LabVIEW. I believe the poster is asking for the other direction - to be able to send keystrokes to another programs from within LabVIEW. There are a couple of ways to do this, depending on your operating system, which you did not provide. If you're on a WIndows machine you can use the Windows API function SendInput. The other is to use an automation program like AutoIt, which allows you to automate just about anything in Windows.
0 Kudos
Message 3 of 3
(2,680 Views)