Virus scan in progress. Please wait to download attachments.
This VI initializes a communication with the keyboard and then monitors what buttons are pressed on the keyboard.
This example opens a reference with the keyboard and then monitor the keys pressed on the keyboard using the Acquire Input Data.vi available in the inputDevices.llb. Check Context Help for more information The indicator on the front panel then displays what buttons are being held down. it can detect when several buttons are being pressed at the same time.
LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
1. Open and run the VI "Monitor Keyboard Presses_LV2012_NI Verified"
2.. Press any button on the keyboard
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange.**
Chris Van Horn Applications Engineer
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.