Overview
This example shows how multiple key down/key up events can be interpreted and processed using a state machine architecture. This example expands on the functionality of the "Multiple Button KeyDown Event" example found at the following link: https://decibel.ni.com/content/docs/DOC-13223
Description
I was interested in writing a program which interprets arrow key presses in the same way any racing game does.
This behaviour is best explained by examples:
Steps to Execute Code
Download the "Multiple arrow key press example" zip file which is saved for both LV 2013 and LV 2010. Run the "Arrow key presses" VI.
Requirements
LV 2010 or above
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.