LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Keystrokes

Is there anyway that I can get a keyboard input, and process it, in labview.

For instance, if I'm running a program that's idle, and I want to go to the
next stage when the user presses the enter key.

--
Slade Squire
Programmer
Rectifier Technologies Pacific
Melbourne, Australia
SladeSquire@rtp.com.au
0 Kudos
Message 1 of 3
(2,776 Views)
> Is there anyway that I can get a keyboard input, and process it, in labview.
>
> For instance, if I'm running a program that's idle, and I want to go to the
> next stage when the user presses the enter key.
>


There are VIs on the ftp site, and I think on devzone and info labview
archives that will give lower level keyboard info. The older ones on
the ftp site are called keyboard.llb, I'm not certain about the name of
the others.

Greg McKaskle
0 Kudos
Message 2 of 3
(2,776 Views)
You can also easily monitor the function keys, and a few other keys by right clicking on a button, pick 'advanced', then 'key navigation' (in version 6.02). This will allow you to assign a key to a button. In earlier versions you could pick key navigation directly without going through 'advanced'. This will only allow you to assign certain keys (not the enter key), but it is really easy.

Cheers,
Bill Kemmerer
0 Kudos
Message 3 of 3
(2,776 Views)