Source language: Translate to:

receive data from com port

Using NeoBook to control external hardware and devices.

Moderator: Neosoft Support

receive data from com port

Postby michi » Sun Sep 21, 2014 12:54 pm

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
Michi

Started to use Neobook in 2003 when I was 12 to make interactive books. Coders saw me and smiled.
Nowadays I'm still using Neobook to create advanced and powerful softwares. Coders see me and say: «how did you make that?»
michi
 
Posts: 33
Joined: Wed Jun 25, 2014 3:01 am
Location: Italy

Re: receive data from com port

Postby ebear » Sun Sep 21, 2014 5:56 pm

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
http://www.lunarsoftware.eu - Lunar Software ERP database Development. Manufacturing processes, Document management, QMS, Stock management. Standalone solutions or connected to Helios Orange and other ERP systems.
User avatar
ebear
 
Posts: 270
Joined: Wed Jan 18, 2012 3:12 am
Location: Vrchlabi - Czech republic

Re: receive data from com port

Postby michi » Sun Sep 21, 2014 10:40 pm

Hi Eric, ok. Where's button to move discussion?
Michi

Started to use Neobook in 2003 when I was 12 to make interactive books. Coders saw me and smiled.
Nowadays I'm still using Neobook to create advanced and powerful softwares. Coders see me and say: «how did you make that?»
michi
 
Posts: 33
Joined: Wed Jun 25, 2014 3:01 am
Location: Italy

Re: receive data from com port

Postby Cipolla » Mon Sep 22, 2014 3:52 am

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...
Greetings from Germany
Klaus
User avatar
Cipolla
 
Posts: 166
Joined: Fri Apr 01, 2005 1:45 am
Location: Germany

Re: receive data from com port

Postby michi » Mon Sep 22, 2014 12:09 pm

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.
Michi

Started to use Neobook in 2003 when I was 12 to make interactive books. Coders saw me and smiled.
Nowadays I'm still using Neobook to create advanced and powerful softwares. Coders see me and say: «how did you make that?»
michi
 
Posts: 33
Joined: Wed Jun 25, 2014 3:01 am
Location: Italy

Re: receive data from com port

Postby michi » Mon Sep 22, 2014 12:16 pm

Another example is an automated machine with a scanner that reads all barcode product input into. Having an input field hasn't sense.
Michi

Started to use Neobook in 2003 when I was 12 to make interactive books. Coders saw me and smiled.
Nowadays I'm still using Neobook to create advanced and powerful softwares. Coders see me and say: «how did you make that?»
michi
 
Posts: 33
Joined: Wed Jun 25, 2014 3:01 am
Location: Italy


Return to Neobook and Hardware Control

Who is online

Users browsing this forum: No registered users and 0 guests