Jacob,
Get the VI called Get Keys.vi (or something alike) from our online (free)
library, www.air.nl. Maybe it needs some small modifications, but it should
do the job.
However, barcode scanners are not exactly the same as user input. In theory,
yes, in practice, no. Problem is they are very fast. So, you have to scan
the keyboard very fast. Probably too fast (e.g. it's not possible to obtain
all characters from the scanner).
Fortunatlly barcode scanners often have possibilities to add a delay between
characters. Set to a delay of 50 ms (or experiment, until perfect..) and it
should work.
The VI gets keys even if another application is active.
Regards,
Wiebe Walstra.
--
AIR technical Automation
www.air.nl
"jact"
wrote in messa
ge
news:506500000005000000281E0000-984882144000@quiq.com...
Thank you for your fast reply. However as far as I could get it to
work it still required me to have a VI in focus. The program running
in front is not a Labview VI so I'm still stuck any other suggestions?
Thanks
Jacob Thastrup