Example Code

Using LabVIEW to Simulate Keyboard Events

Code and Documents


This example uses the Windows User32.dll to simulate keyboard events. They "keyboard" was built in LabVIEW using boolean buttons. Each button is tied to an event that adds data to an array that will be sent to the keybd_event function of the User32.dll.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.