Jump to content

How to key focus on a field when using barcode reader

Recommended Posts

I am working on a project where I would like the operator  to scan a barcode to input data into several fields.  If I enable the USB for HID Device I can get the barcode to scan into a field, but only when I first touch that field to open the on-screen keyboard (and oddly enough I have to press a key on the keyboard before the scanner will fill in the field).  I am wanting the operator to be able to initiate these inputs without touching the screen first. 

I have logic written using the COM Rx function, followed by Copy Buffer to Tag.  When online, I can see the scanned data in the buffer field, but no data is filling in the desired field.  I'm not sure if I need to somehow key focus onto the field I want.  Also, after the first scan I would like to be able to automatically focus on the next field where the buffer will be copied to.  

Any help would be greatly appreciated!

Share this post

Link to post
Share on other sites

you have a version of the system higher than

Before  version 1.23.25 all HID devices have logged in as a keyboard!

I use the LS2208 scanner
and it works ok.

For inspiration I send some data.


AddHID scanners.JPG




  • Upvote 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now