LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Simulate Keyboard Issue

Hi

 

I've been trying to use this keyboard simulation VI I found on these forums and I ran into some problems. I'm really new to LabVIEW and was just trying to test out what the software can do.

 

I was trying to figure out a way to open up a word file and just have the simulator type something the user wrote on a front panel control before the execution. I ran into two programming issues, one is if I type in some string or number into the control, how would I translate this to pressing the correct button on the keyboard if I'm using the keyboard simulator as a sub VI.

 

Second problem I had is in using this VI as a sub VI as I do not know how to, from another VI, press a button and execute on the simulator; right now when I pass in a true boolean constant to one of the keys and then to the execute button nothing happens. I tried a flat sequence but for some reason the program just stops at the one of the frames and never moves on to the next frame. 

 

Lastly, a problem I'm having that's not programming related is that when I use the keyboard simulation VI, I click Alt, then Tab, then Execute. After that the VI ends, but for some reason I lose control of all keyboard function (i.e. I open up firefox and I try to google something and my keyboard doesnt respond). This happend on another computer as well. This problem is solved when I go Alt Tab on my real keyboard but it's a nuisance and I don't know why this is happening

 

I would prefer to use this file in some way and not have to write my own keyboard.

 

Thanks very much

0 Kudos
Message 1 of 2
(2,206 Views)

Oops double post please delete one. Thanks

0 Kudos
Message 2 of 2
(2,204 Views)