Bugra
Bugra

Reputation: 1

Delphi Com Port Application

I have a Barcode Scanner device and I am trying to write an application using Delphi 7. I used Dejan's ComPort component and I can connect the device succesfully. I also can read the string from the device and able to send messages between STX/ETX. But I have a problem. I use Comport's RxChar event to read the string from the device and able to send commands with the buttons I created.

The problem is; how to understand if data recieved from barcode scanner? I can not handle it. Could you please help me? I have checked some examples over google some says use Async method but I dont know how to do it.

Upvotes: 0

Views: 1370

Answers (0)

Related Questions