10-17-2012 04:05 PM
I would like to press any button on my keybaord and have that button turn on and off an LED. How can I do this?
Thanks
Solved! Go to Solution.
10-17-2012 04:10 PM
Event structure key down event (triggered when pressed) or key up (triggered when released)
10-17-2012 04:15 PM
Can I also do this with side arrow keys or letters?
10-17-2012 04:19 PM
Also what blocks shall I use? I have my event structure and down arrow programed with a boolean placed inside. The only way i can get it to lite up is connecting a display block to the Boolean, but I don't want to do that.
Thanks
10-17-2012 06:08 PM
Here is a simple event structure that should do what you want.
I strogly recommend you read this (http://zone.ni.com/reference/en-XX/help/371361D-01/lvhowto/caveatsrecmndtnsevnts/) if you plan on using anything more complex than this.
10-18-2012 05:00 PM
I couldn't open your file I have version 10.0.1 is there another way you can post it or i can access it?
thanks
10-18-2012 05:44 PM
Saved for version 10
10-18-2012 06:06 PM
That's cool but how can I do this with a boolean led using leds to indicate which button has been press? I can't get the LEDS to talk to the case structure and thank you for your time btw
10-18-2012 06:10 PM
So four LEDS to respond to it's own arrow key
10-18-2012 06:17 PM
Also how can I add more options to the case structure. I can only choose true or false from my options