07-09-2008 03:12 PM
07-09-2008 03:23 PM
07-09-2008 03:35 PM
07-09-2008 05:32 PM
07-10-2008 03:50 PM
07-13-2008 06:41 AM
Unfortunatly it still doesn't work the way I want to.
I used the Input Device Control VI’s to monitor the keyboard (thanks to smercurio), and this works fine for a normal key-board. But I have a tablet PC with only a few buttons witch I can program to a specific key-fuction. When building an application and running it on my tablet PC the VI doesn’t listen (most of the time) to a press on the button… When I hook up a normal keyboard it works fine again..
When I use the event structure the VI listens to the button every time I press it (the way it should be). The only problem now is still the fact that this will only work if the VI is active (blue title bar). When I use an other windows application the event structure doesn’t work any more (with the input device control VI it did!).
Who does have a solution to this problem?
07-13-2008 08:07 AM
07-13-2008 09:32 AM
Hello JoeLabView, thanks for your reaction!
You understood it correctly. The tablet PC doesn’t have a normal keyboard, but there are 3 buttons witch I can program to any standard key function (or combinations). Button nr. 1 I gave the F2 function (but I could be any function). The event structure works fine with this button, but only when the VI is active (and mostly it ins’t active although it always topmost…) If I could find a way to make the VI active, for instance by pressing the same button, I think my problem would be solved.
khs.
07-13-2008 10:32 AM
I'm not sure I understand what you mean by " find a way to make the VI active".
Do you mean to activate the vi? ie make it run
or to make it the active window? ie. already running but in the background or minimized..
R
07-13-2008 11:07 AM
When the VI opens it starts running and is active (title bar is blue). When I open an other (windows) application, the VI is not longer active anymore (but stil running and topmost) the title becomes gray. At this point the event structure doesn't work anymore. I have to make the VI active again by pointing it with the mouse (which I don't want to).