Hi guys!
I need to read data from electronic scale connected via RS232 (I can do that) and paste this data into keyboard buffer.
It should work like a keyboard emulation.
Is it the way to do that?
Read data from COM port and send it to keyboard buffer
Moderator: Rathinagiri
- dragancesu
- Posts: 920
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: Read data from COM port and send it to keyboard buffer
managed to do the direct reading via hmg, I think I have something here I will search.
- danielmaximiliano
- Posts: 2611
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Read data from COM port and send it to keyboard buffer
I use HbComm Harbour Contrib....
read Ean13 from rs232 scanbar
[/centre]
read Ean13 from rs232 scanbar
[/centre]
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Re: Read data from COM port and send it to keyboard buffer
Dragan' solution is exactly what I need.
The only better one would be hardware converter from rs232 to usb keyboard, but I didn't found such a device
The only better one would be hardware converter from rs232 to usb keyboard, but I didn't found such a device
Re: Read data from COM port and send it to keyboard buffer
hello Marek, you say you need to read serial port data you don't need to emulate for keyboard see how it works:
1 -to read serial port data you need to be listening to it through loops defined by your system
2- know what format the equipment is sending
3- convert this data to decimal value or readable character in your system follows an example that I took some time to read data from serial port in hmg
- Attachments
-
- HBCOMM-ok2.zip
- (28.47 KiB) Downloaded 157 times
Re: Read data from COM port and send it to keyboard buffer
I need to put read data into keyboard buffer for another application