Problem Reading Barcodes ?

Hi
I am trying to capture a barcode from the scanner
The barcode model is Symbol DS3608 configured for standard RS232 reading.

I have defined start char as "" and end char as "" to uniquely capture the 13 digits of EAN barcode.

For some reason i have to click twice on the scanner for the data to appear.

Is that an event problem or my scanner ?

Maybe there is a better way to do it ?

The procedure ceRxChar is triggered for monitoring but is not coded in the program.

procedure Tmainfrm.VaCaptureMessage(Sender: TObject; const Data: AnsiString);
begin
  CaptureBarcode:=Data;
  SHOWMESSAGE('I HAVE CAPTURED A BARCODE');
  SHOWMESSAGE( CaptureBarcode );
end;


So i define Vacomm and VaCapture as below:




Thanks

Kamran

I didn't read the specs of your reader, but if it concerns a 13 digit code and there is a * prefix and suffix, the total message length would be 15, wouldn't it?