LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keyboard monitoring VIs: revisited!

Hello everybody!

I keep hearing in this list about some VIs which monitor the keyboard
and exist in a OS-independent version (e.g. with CINs for "all" OS's),
what would be appreciated to write portable VIs.

My problem is, no matter where I search, I can't find it. Do this VIs
exist, and if YES, where to find them????

If they don't exist, why are people all the time talking about it?
Probably because it would be a nice feature!!! (Please, NI, put it with
high priority on the wish list!).


Greetings, Gilbert


Some extracts of earlier postings:

1) Greg McKaskle:

" ... there are some keyboard VIs on the NI ftp site that give key
character events
straight out of the LV event queue. They aren't the raw windows
even
ts, but rather the platform independent ones that LV either will,
or has already processed, depending on how the VI registers.

The VIs are also probably available from the knowledgebase."

I only find
"ftp://ftp.ni.com//support/labview/vis/windows/3.0/keyboard/keyboard.zip",
which contains Windows dependent CIN's.

I found one article in the knowledgebase pointing to the NI Developer
Zone, which offers again the same libraries.

2) Jason Frels:

"At ni.com there is an example program using a library called keyboard.llb.
This allows you to detect keystokes. Just go to ni.com and search for "Keyboard
Utilities for Capturing Keystrokes". "
0 Kudos
Message 1 of 6
(3,393 Views)
I have the same problem. I believe that the vi at the following link works on all operating systems, but I have not been able to test it because it requires labview 6.1. If anyone would like to test it for me on Macintosh, I would much appreciate it.

http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/9d6f8bad48ddc7aa86256b430079fd53?OpenDocument
0 Kudos
Message 2 of 6
(3,393 Views)
please find attached the HTML - print of this file; zipped together, that you get an idea how it looks in LabVIEW 6.1. I have tested this vi on Win98 & NT4 - works properly...........

hope, you will get soon LV 6.1

regards
wha
0 Kudos
Message 3 of 6
(3,392 Views)

have LabView 7.1 and could not open the file since it is in 3.0 version, dou you have the files saved in 7.1 version.

Thanks!

0 Kudos
Message 4 of 6
(3,176 Views)
The example that wha posted uses the event structure that is in LabVIEW 7.1 in all versions except for the base version of LabVIEW. Afaik though, every version has the Initialize keyboard and Acquire Input Data on the Advanced>Input Device Control palette.
0 Kudos
Message 5 of 6
(3,163 Views)
Unfortunately, the Initialize Keyboard is Windows only (DirectX 8.0 or better).  Not entierly certain why.
0 Kudos
Message 6 of 6
(3,152 Views)