I am still having issues with the TComPort component but this time is not the component itself is the logic behind it. I have a device witch sends some ascii strings via serial port i need to prase those strings the problem is the computer reacts very fast so in the event char it captures only a part of the string the rest of the string comes back later. So parsing it when it is recived. Jun 29, 2019 Arduino Tutorial Delphi 10.2 and Serial Port. Interface created with Delphi that you can control the serial port to Arduino turning on and off a Led, handle the LCD and receive messages towards the PC. The Delphi environment with the pascal language is still current and its use in.
![]() ![]() ![]()
Remy Lebeau (TeamB) wrote: Not specifically, however Indy's architectue is flexible enough to allow for it. Simply derive a custom class from TIdIOHandler and override its abstract methods to access the serial port as needed, and then you can assign the IOHandler property of any Connection object, such as a TIdTCPClient.Hi, I am using XE5 C builder, and I need to use a serial port in it, so is your suggestion the best way to do it or do you recommend something else by now?if so, could you explain me a bit the procedures please?Thanks in advance. Mohammad wrote: Hi, I am using XE5 C builder, and I need to use a serial port in it, so is your suggestion the best way to do it or do you recommend something else by now?What I explained earlier is how to access a serial port using Indy. Thatdoes not necessary mean that Indy is the best option for accessing a serialport. It depends on your app's particular design and requirements. Thereare plenty of third-party components available that are dedicated to serialport access.-Remy Lebeau (TeamB).
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |