Delphi Serial Port Tutorial
Delphi Serial Port Tutorial Rating: 8,7/10 8790votes

- - - - - - - - - Delphi tutorial: serial comms, i.e. Using the COM port Bi-directional Communications This has good information, and a search button at the bottom of the page Please don't dismiss it because it isn't full of graphics, scripts, cookies, etc! This tutorial will show you how to write a Delphi program to send data out of your PC over a serial link. The program will also be able to read data arriving on the serial link.

Serial Communications Library for Borland/Embarcadero Delphi to easily communicate with RS232 or multi-drop RS422 / RS485 serial ports and virtual ports such as those created by Bluetooth and USB/serial converters. Serial COM port development for Windows using Delphi. The main loop() simply loops and builds up a String variable (inputString) when the Delphi application sends any data. The text string is converted to a numerical value and is then applied to the PORT B register. /* This sketch receives a text string via the serial port as a numerical value and sets the lower 6 bits of Port B. Riptide Pro Keygen there.

Delphi Serial Port Tutorial

If you want to know more about the source and format of these pages. It may be easier to read this if you re-size the window, so that it does not use the full width of your screen. You can for the application developed in this tutorial. The zip file also includes a compiled copy of the application. The compiled version is hard coded to operate on COM1 at 9600, with no handshake.

At 02 Apr 2010, 11:49, British time, this TUTORIAL is a Work-In-Progress! But the sourcecode and compiled.exe, available from the link above, are finished. Where we are going In the following we will build an application with three buttons. One will look to see if any data has arrived on the serial port, and the other two will send fixed messages out over the serial port, 'Hello' and 'Bye'. Sounds pretty lame, doesn't it. The application isn't meant to be 'useful' as it stands.

It is meant to give you a stripped down skeleton, on which you can build whatever it is that you are wanting to do with a serial comm port.

Comments are closed.

inserted by FC2 system