09-04-2009 07:52 AM
Hello
First I am Just a beginner in Labview
I just make a program that Consist of 4 button controling 4 LEDs Using Event Structure
The Problem is I did not want to operate the button by the mouse click but
i want to operate the button using the arrow keys in keyboard
T
09-04-2009 08:13 AM
09-04-2009 09:49 AM
Thank you
But Can I ask waht is this in the image
Sorry I am just begginer
Thank you again
Abdo
09-04-2009 09:50 AM
09-04-2009 09:51 AM
09-04-2009 09:54 AM
VKEY is the key you are comparing to or what have you...
you can get to it by left clicking on the rectangle.
09-04-2009 09:54 AM
09-04-2009 09:58 AM
well in you example it is used to compare what key was pressed so that you get a read out of true or false so if I hit the up key the up led is set to true due to the VKEY being = to up
so it is important
12-09-2013 03:17 AM
Hi, I tried implementing your example. I'm trying to use the keyboard to control boolean buttons to make my "throttle bar" move up and down. It works, but I can't get it to switch until release when I hold down on my keyboard. My stop and clear buttons also doesn't seem to work when I put in the event structure.
I'm a total newbie. Help!
12-09-2013 03:40 AM - edited 12-09-2013 03:48 AM
Hi saiko,
when you're a "total newbie" you should at first go through all those free online LabVIEW courses offered by www.NI.com!
Try this:
My stop and clear buttons also doesn't seem to work when I put in the event structure.
How did you configure the event case? When putting those buttons inside the event structure you have the tell that structure how/when to handle them. Did I mention the free online courses?
but I can't get it to switch until release when I hold down on my keyboard.
Do you want to use the automatic key press repeat feature? Well, you have to configure the event: right now it's "key press", but you probably want an event like "key repeat"? You may read the LabVIEW help on available events...