Is flow control an option?  Either hardware or software flow control would
help.  You can also increase the serial buffer size.  If you can't flush the
incoming buffer without loosing some of the necessary data, throw away the
unwanted data yourself.  (Hint: use the serial receive callback)

----- Original Message -----
From: "Rangababu, TNV (IndSys)" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, February 24, 2003 1:00 AM
Subject: I have a problem with serLineErrorSWOverrun & with continuous dat
a.


> Hi All,
>
> Currently I am working on a continuous data over on Serial port
> (Online data from a control card @4-bytes for 10 mSec).  So I have to
update
> UI every 500 mSec of 64-bytes only. (The remaining data I have to clear, I
> am unable to clear this data, because its a continuous data for that
reason
> I have flush this receive data with 0 mSec.) Every time I use to get
> serLineErrorSWOverrun error by the time of collecting data, I am clearing
> this error by using SrmClearErr method and collecting latest data from the
> serial port and updating the UI.
>
> Even after disconecting the control card from the serial port, Still
> my application is receiving serial data (junk) and showing
> serLineErrorSWOverrun error. I don't how to handle this error. If any one
> can suggest me to over come this problem,  will be greatly appriciated.
>
> Thanks in advance,
> Rangababu TNV.
>
>
> "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
> ADDRESSEE and may contain confidential and privileged information.
> If the reader of this message is not the intended recipient,
> you are notified that any dissemination, distribution or copy of this
> communication is strictly Prohibited.
> If you have received this message by error, please notify us
> immediately, return the original mail to the sender and delete the
> message from your system."
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to