![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Tags: |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |||
| [SOLVED] How I can write a Delphi program for generate an interrupt for serial port.. ...COM (RS232 comunication) ? Thank's! I must transmit and receive data using interrupts, and I think that I must also use interupt's vector (IRQ). Please help me if you know something about this. Thank you one more! ************* |
| |
| |||
| Look into the APro components from TurboPower - they're the ones I use for my serial communication. These components are now open source and free. TApdComPort is the base serial port communications component. Just set your Stop Bits, Data Bits, Parity and Baud Rate. To open the COM port call InitPort. To close the COM port call DonePort. When you want to send data call PutBlock. To read data call GetBlock. Both PutBlock and GetBlock take an untyped parameter (as the source/target) and a size parameter. I believe they can be downloaded from SourceForge. I also think they come with a few examples of use. |
![]() |
| Thread Tools | |
| Display Modes | |
| |