ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate Key strokes

I am trying to generate key strokes from a soft button in Labview 5.1. I
need to send a p to windows to activate a third party application.
Thanks in advance for the help.
Mickey
0 Kudos
Message 1 of 5
(4,050 Views)
check out http://members.nbci.com/george_zou/index.htm,

I believe he has some vi's pertaining to keyboard simulation, etc.
0 Kudos
Message 2 of 5
(4,050 Views)
You may want to check the following example, as it shows how to simulate keystrokes. It includes a VI called "Simulate Keyboard":

http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&3B1B0B401B12F80D8625683C006F1253&cat=71359FBAD517F4CB862567E0007B6F6E

Best regards;
Vargas
www.vartortech.com
0 Kudos
Message 3 of 5
(4,050 Views)
Mickey;
I'm attaching an VI which simulates key strokes. You might want to take a look at it and change it to match your needs.
Regards
Filipe Altoe
Application Engineer
National Instruments
Message 4 of 5
(4,051 Views)
I owe you lunch! Thanks a million!
0 Kudos
Message 5 of 5
(4,050 Views)