LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keyboard Input

I was wondering if anyone has any experience with this. What I want to do is
this:

When my program runs, I want the user to be able to type on the keyboard and
it will be entered to a certain string box. There will only be one string
box in this VI so we know it is going to get entered to this box.

I've downloaded this keyboard example from the National Instruments page and
it works but I want something simpler. Does anyone have any idea or
suggestions? Thanks.

--
Shan Pin Koh
OakRiver Technology - www.OakRiverTechnology.com
(651) 770-8710 ext. 18
(651) 770-8724 fax
0 Kudos
Message 1 of 2
(2,677 Views)
Shan,

If you put a string control on your front panel and create an attribute node
for it and wire the "key focus" attribute as true, when your vi runs whatever
person types will automatically be entered in that string control.

pat

"Shan Pin Koh" wrote:
>I was wondering if anyone has any experience with this. What I want to do
is>this:>>When my program runs, I want the user to be able to type on the
keyboard and>it will be entered to a certain string box. There will only
be one string>box in this VI so we know it is going to get entered to this
box.>>I've downloaded this keyboard example from the National Instruments
page and>it works but I want something simpler. Does anyone have any idea
or>suggestions? Thanks.>>-->Shan Pin Koh
>OakRiver Technology - www.OakRiverTechnology.com>(651)
770-8710 ext. 18>(651) 770-8724 fax>>>
0 Kudos
Message 2 of 2
(2,677 Views)