I am trying to write a program which will listen to the serial input from Arduino board connected via usb, and sending output to serial port (COM4). But I don't know how to get input from serial port in Delphi. I need program to listen to the port, and whenever the input comes, it should react to it. Any suggestions?
Asked
Active
Viewed 1.7k times
3 Answers
11
http://sourceforge.net/projects/tpapro/ is a freeware tool we've used with great success for many years.

RobertFrank
- 7,332
- 11
- 53
- 99
-
1+1 Why was this voted down? It is a wellknown serial lib for Delphi? – Marco van de Voort May 10 '11 at 16:32
-
1Also works with older versions of Delphi, hurray! +1 – Codebeat Feb 21 '15 at 23:53
5
The already suggested tpapro will probably also do it, but I myself use TComport, which I consider slightly easier to use. It will has an event property onrxchar that triggers whenever a character arrives (and several options for other kinds of packets, including ASCII linediscipline).
I use it pretty much for the same kind of stuff, albeit with microchips mcus.

Marco van de Voort
- 25,628
- 5
- 56
- 89
0
I've used the Comport library of WinSoft for many... years. It´s excellent (0 bugs) and works with any version of windows.
The link is: http://www.winsoft.sk/comport.htm

Juan Carlos Velez
- 2,840
- 2
- 34
- 48