Page 1 of 1

receive data from com port

PostPosted: Sun Sep 21, 2014 12:54 pm
by michi
Hi all, I need to use a barcode scanner connected via rs232 in Order to read some barcode. There's a way to receive data and run a subroutine when barcode is received? So publication examine data receive and doing what i want. Thanks in advance

Re: receive data from com port

PostPosted: Sun Sep 21, 2014 5:56 pm
by ebear
Dear Michi,

Please can you move this question to Neobook and Hardware control. I will publish in a few days an manual how to receive and send data via RS-232.
This will also solve your problem.

Best regards,

Eric

Re: receive data from com port

PostPosted: Sun Sep 21, 2014 10:40 pm
by michi
Hi Eric, ok. Where's button to move discussion?

Re: receive data from com port

PostPosted: Mon Sep 22, 2014 3:52 am
by Cipolla
Michi, why do you need to read from the port? I am working with barcode readers since years (2d & 3D). Normaly the barcode reader pushes the Code as a string through the keyboard port, so u only need an input field with the focus, to get the code into neobook...

Re: receive data from com port

PostPosted: Mon Sep 22, 2014 12:09 pm
by michi
Cipolla, it isn't so easy. Use a barcode reader as Keyboard create different problems. Input field must be focused. Difficult if users use a wireless barcode and many application to work! In past I also use keyboard emulation, but it works for simple reading near pc. An operator that use a wireless device must be able to execute commands also if he isn't at the desk and something else is focused. Reading code can be only a part of big work, so a thing is getting a code in Order to simply store it, a thing is writing a code that can think about operator sequential barcode readings.

Re: receive data from com port

PostPosted: Mon Sep 22, 2014 12:16 pm
by michi
Another example is an automated machine with a scanner that reads all barcode product input into. Having an input field hasn't sense.