LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

getchar() in Labview 5.1

I am new to Labview and am looking for a function that will return a
character every a key is pressed. Is there such an animal or how does
one go about doing it in LV. I want to compare every keypress and do
some thing based on it.

Thanks


Sent via Deja.com
http://www.deja.com/
0 Kudos
Message 1 of 5
(1,011 Views)
Go to the NI Developer Zone and you'll find a keyboard utility at Resource
Library>LabVIEW>User Interface>UI Programming.

alwal@my-deja.com wrote:
>I am new to Labview and am looking for a function that will return a>character
every a key is pressed. Is there such an animal or how does>one go about
doing it in LV. I want to compare every keypress and do>some thing based
on it.>>Thanks>>>Sent via Deja.com>http://www.deja.com/
0 Kudos
Message 2 of 5
(1,011 Views)
somewhere there is a keyboard.llb library of functions that do what you are
looking to do. I do not know the keeper of the code. It might be NI.

Stu

wrote in message news:95ppad$rhd$1@nnrp1.deja.com...
> I am new to Labview and am looking for a function that will return a
> character every a key is pressed. Is there such an animal or how does
> one go about doing it in LV. I want to compare every keypress and do
> some thing based on it.
>
> Thanks
>
>
> Sent via Deja.com
> http://www.deja.com/
0 Kudos
Message 3 of 5
(1,011 Views)
You might see if this works for you...

In the speed menu (right-click menu) of the String control there is an
option called "Update Value while Typing." (LabView 6i)

I used it for a real-time text parser.

Good luck,
Bob

wrote in message news:95ppad$rhd$1@nnrp1.deja.com...
> I am new to Labview and am looking for a function that will return a
> character every a key is pressed. Is there such an animal or how does
> one go about doing it in LV. I want to compare every keypress and do
> some thing based on it.
>
> Thanks
>
>
> Sent via Deja.com
> http://www.deja.com/
0 Kudos
Message 4 of 5
(1,011 Views)
> I am new to Labview and am looking for a function that will return a
> character every a key is pressed. Is there such an animal or how does
> one go about doing it in LV. I want to compare every keypress and do
> some thing based on it.
>

There are some keyboard VIs on the ftp site. I think they are in the LV31
directory.

Greg McKaskle
0 Kudos
Message 5 of 5
(1,011 Views)