03-24-2013 10:44 AM
Hi every boby
i'm going to get character from keyboard. so i use initialize keyboard vi for recognize device and acquaire input data vi for geting that.
this vi is good you can get char even another window is open but there are some problems.
first you can`t seperate small and captal character.
second I couldn`t recognize free state (state that any key pressed).
could you please help me?
thanks
03-24-2013 10:56 AM
Can you post what you have so far?
Just attach the VI (or VI's if you have subvis) to your message (see Attachments below message body box).
03-24-2013 12:17 PM
I`m sorry.
03-24-2013
07:26 PM
- last edited on
03-25-2013
09:01 AM
by
MaryH
Have a look at the attached modified code.
The regular keys appear in: keys
The other buttons appear in: VKey
Or the ScanCode.
03-25-2013 12:50 AM
thanks but I use LABVIEW ver 11 and it`s not compatible with your file.
03-25-2013 08:03 AM
Sorry about that.
It's in version 2010.
03-25-2013 09:29 AM
thank you
but if you run LABVIEW and you open calculator for example, you can`t catch any key exept you click on LABVIEW window again.
i attached an image for more detail.
03-25-2013 09:36 AM
Oh.. I didn't realize you wanted to sniff the keyboard while another application is running. I seem to recall something about that, but will have to search for it.
03-25-2013 09:50 AM
03-27-2013 03:51 AM
are there any idea?