Hi all,

Using synaser and a TBlockSerial object I am reading out a serial-USB
device. The device is sending data (I can see the buffer is growing using
the function WaitingDataEx), but as soon as I read something from the
buffer no data is stored in the buffer any more. I have
tried RecvBuffer, RecvBufferEx and RecvByte to read data. After calling the
Purge function, the buffer starts filling with data again. Calling Purge
after every read is no option, since I have to receive all data in order to
be able to perform my processing.
Is there any reason for the buffers to stop filling after a read?

I am using Ubuntu 14.04 with a recent 32-bit freepascal compiler.

With kind regards,
Pieter Eendebak
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to