ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to program keyboard to boolean?

Solved!
Go to solution

Ah I answered my last question

0 Kudos
Message 11 of 14
(1,010 Views)

Is there a way I can attach a control boolean to the case structure while still working with the down key?

0 Kudos
Message 12 of 14
(1,005 Views)
Solution
Accepted by break406

Here is a case structure inside of an event structure that will do exactly what you want.

 

Not to sound preachy or anything, but the questions you asked showed a pretty significant lack of understanding on how case structures work. Since they are one of the most fundamental parts of LabVIEW programming, I suggest you spend awhile familiarizing yourself with them before moving on.  The help files are useful, but just playing around for awhile is also useful.  Good luck!

 

Edit: I forgot to add this to the VI, but you should also look in to local variables. You just right click on the terminal in the back panel, -> Create -> Local Variable

Message 13 of 14
(998 Views)

What I really need is for the LED to turn off as I release the arrow key. I was hoping to do that using a control i'll look into it more. Thanks i'll accept this as a solution

0 Kudos
Message 14 of 14
(979 Views)