LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I would like to detect all the keyboard key is okay, but not every key can be detected by using LabVIEW example, keyboard keycode

I would like to detect all the keyboard key is okay, but not every key can be detected by LabVIEW example ( we can use 『basic input demo.vi』to detect normal key』.
 
I want to detect some 『hot key』 for example some keys exist in the upper part like 『search key』、『e-mail key』、『volumn control key』...etc. They are very often to be watched in some new keyboards, but we still don't know how to detect if their functions are okay.
 
Can we detect signals of these 『hot key』 in LabVIEW? We can apply these hot key's functions in XP, so we should detect their signal, I think, but I can't do it.
 
I serach some information about this question, and somebody said we can detect hot key's signal by grabing 『keybode』 these hot key feedback. But I don't know how to do these. I can't use VC. So anyone can give me a LabVIEW VI to grab keycode? Or any other solution we can detect all the key on the keyboard, including hot keys?
 
Thanks!
Regards,
 
0 Kudos
Message 1 of 6
(3,502 Views)
What brand of keyboard are you using? If it is a non-standard keyboard layout, then there may be a driver or .dll file from the manufacturer that you *might* be able to talk to with LabVIEW. It may be a little challenging, but I'm sure it can work.

B-)
0 Kudos
Message 2 of 6
(3,494 Views)

Although keys of the keyboard are more than 104 keys( on the left-up part of the keyboard, there're about 10 keys, include email, search, vol+, vol-, net...etc hotkeys) , they're still be able to used when the keyboard is pluged, and don't need any driver.

I tried to find the driver of the keyboard, I found it's in

 

c:\windows\system32\drivers\kbdclass.sys

c:\windows\system32\drivers\kbdhid.sys

 

It seems like it's a standard driver, and don't need any other driver. Why? how can I get all the keycodes on the keyboard?

0 Kudos
Message 3 of 6
(3,314 Views)
Wow!  That's a long to to wait before coming back with a reply!
Message Edited by Ravens Fan on 11-03-2008 08:59 PM
0 Kudos
Message 4 of 6
(3,311 Views)

I see. About this question, anyone can give me any help?

0 Kudos
Message 5 of 6
(3,306 Views)

Maybe that is the limitation of Acquire Input Data.vi.The vi can't identify the Unformal key.

You can try to use Event structure and set to listen "key down" event.

There are two terminals VKey, ScanCode will sent out the information when you press key.

There are two pictures in attached file, 2.jpg will show you the detail.

Good luck.

 

 

0 Kudos
Message 6 of 6
(3,271 Views)