Click here to Skip to main content
15,914,276 members
Home / Discussions / C#
   

C#

 
GeneralRe: Tried and got same behaviour, Ideas? Pin
Luc Pattyn6-May-07 4:01
sitebuilderLuc Pattyn6-May-07 4:01 
Hi,

SerialPort.Read documentation contains following note:
"Because the SerialPort class buffers data, and the stream contained in the BaseStream property does not, the two might conflict about how many bytes are available to read. The BytesToRead property can indicate that there are bytes to read, but these bytes might not be accessible to the stream contained in the BaseStream property because they have been buffered to the SerialPort class."

If you want specific help, show all code involved + port settings + actual bytes received.

Smile | :)


Luc Pattyn

[My Articles]

GeneralDebugger affecting reception of data Pin
sew44127-May-07 2:50
sew44127-May-07 2:50 
QuestionVS.NET, Winform default settings Pin
Imtiaz Murtaza5-May-07 3:22
Imtiaz Murtaza5-May-07 3:22 
AnswerRe: VS.NET, Winform default settings Pin
subai5-May-07 3:56
subai5-May-07 3:56 
QuestionPreserve creation date Pin
electriac5-May-07 3:08
electriac5-May-07 3:08 
AnswerRe: Preserve creation date Pin
subai5-May-07 4:02
subai5-May-07 4:02 
AnswerRe: Preserve creation date Pin
Luc Pattyn5-May-07 6:42
sitebuilderLuc Pattyn5-May-07 6:42 
GeneralRe: Preserve creation date Pin
electriac5-May-07 8:16
electriac5-May-07 8:16 
GeneralRe: Preserve creation date Pin
Luc Pattyn5-May-07 8:45
sitebuilderLuc Pattyn5-May-07 8:45 
GeneralRe: Preserve creation date [modified] Pin
electriac5-May-07 9:01
electriac5-May-07 9:01 
GeneralRe: Preserve creation date Pin
Luc Pattyn5-May-07 9:20
sitebuilderLuc Pattyn5-May-07 9:20 
GeneralRe: Preserve creation date Pin
Luc Pattyn5-May-07 12:31
sitebuilderLuc Pattyn5-May-07 12:31 
GeneralRe: Preserve creation date Pin
electriac5-May-07 12:42
electriac5-May-07 12:42 
AnswerRe: Preserve creation date Pin
AFSEKI7-May-07 2:56
AFSEKI7-May-07 2:56 
GeneralRe: Preserve creation date Pin
electriac8-May-07 12:36
electriac8-May-07 12:36 
Questionhow can the software retrieve machine's servername and change the datasource to the machine's servername... Pin
fgfdhghgfd5-May-07 2:17
fgfdhghgfd5-May-07 2:17 
AnswerRe: how can the software retrieve machine's servername and change the datasource to the machine's servername... Pin
Rob Graham5-May-07 4:15
Rob Graham5-May-07 4:15 
QuestionDevelop web application using communicator web access Pin
Hardik Patel (GTL)4-May-07 23:30
Hardik Patel (GTL)4-May-07 23:30 
Questionhow to insert unicode into SQL server from c# Pin
rehab14-May-07 21:49
rehab14-May-07 21:49 
AnswerRe: how to insert unicode into SQL server from c# Pin
Seishin#5-May-07 0:25
Seishin#5-May-07 0:25 
AnswerRe: how to insert unicode into SQL server from c# Pin
Muammar©5-May-07 1:49
Muammar©5-May-07 1:49 
AnswerRe: how to insert unicode into SQL server from c# Pin
Rob Graham5-May-07 4:08
Rob Graham5-May-07 4:08 
AnswerRe: how to insert unicode into SQL server from c# Pin
AFSEKI7-May-07 2:59
AFSEKI7-May-07 2:59 
QuestionAssigning EventHandler once in a method invoked many times Pin
Seishin#4-May-07 21:29
Seishin#4-May-07 21:29 
AnswerRe: Assigning EventHandler once in a method invoked many times Pin
Arun.Immanuel4-May-07 21:42
Arun.Immanuel4-May-07 21:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.