TBlockSerial.Recvstring
TBlockSerial
function Recvstring(timeout: Integer): string;
Unit
SynaSer
Description
Method waits until data string is received. This string is terminated by LF character. The resulting string is returned without this termination (CR LF). If no data is received within TIMEOUT (in milliseconds)period, LastError is set to 30. Methods serves for line protocols implementation and uses its own buffers to maximize operation power. Therefore do NOT use this method with other methods for data receiving because of possible data loss. You may only combine this function with RecvBufferEx method.