Clearing oSerialPort's buffer - Matt Elias - Apr 17 13:46:47 2008
How does one clear the oSerialPort's buffer other than reading it's
value propery? Does sending data clear the "receive" buffer? Does
setting the operate property to cvFalse clear the buffer?
Thanks
Matt
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )
Re: Clearing oSerialPort's buffer - denn...@oopic.com - Apr 17 19:21:22 2008
Just reading it is how I've done it.
DLC
ooPIC Tech Support
-----Original Message-----
From: Matt Elias
Subj: [oopic] Clearing oSerialPort's buffer
Date: Thu Apr 17, 2008 11:46 am
Size: 1K
To: o...@yahoogroups.com
How does one clear the oSerialPort's buffer other than reading it's
value propery? Does sending data clear the "receive" buffer? Does
setting the operate property to cvFalse clear the buffer?
Thanks
Matt
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )Re: Clearing oSerialPort's buffer - ooPIC Tech Support - Apr 18 0:07:19 2008
If you read the PIC data sheet, that is the only way to flush the buffer
is by reading it. So, do four reads after a reset and you're done.
DLC
Matt Elias wrote:
> How does one clear the oSerialPort's buffer other than reading it's
> value propery? Does sending data clear the "receive" buffer? Does
> setting the operate property to cvFalse clear the buffer?
>
> Thanks
> Matt
> ------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )