This page demonstrates how to perform Serial I/O via RS232 using Delphi). Last Modified 09-30-03, links fixed 10-24-09.
I need complete code of writing to serial port.This is what I need:
I need to send a string of hexa to the serial port and receive another string of hexa from there (and translate it later)
The string I need to send is:
$f0$41$30$4f$f7
The received data will also be hexa, and I need to append it to a table in specific columns of a table (but that is not a problem for me, so don't bother)
Delphi 7 Com Port Communication
The sending of the data will happen periodically (but that's also my problem to solve, not yours)Please do not point me to various other links in experts-exchange or links to components... I've been there already. But sadly I have no experience in communicating with the serial port (not even using any third party component to do it).
So please give me working code (perhaps using a specific third party component)
I must give you here a list of freeware components that seem to work just fine with the serial port (but obviously they work for someone that has some experience with serial ports):
http://www.torry.net/pages.php?id=198
http://www.domis.de/cms/index.php?module=ContentExpress&func=display&ceid=8
http://www.ciemmesoft.com/release3/Forum_Componenti/Topic.asp?ID=972
http://sourceforge.net/projects/tpapro/