Connecting Tech Pros Worldwide Forums | Help | Site Map

HELP IN TURNING OFF ECHO IN SERIAL PORT IN CSHARP

Nasif
Guest
 
Posts: n/a
#1: Sep 12 '07
HELLO ALL

I am new in serial port programming. I am currently doing a program
that communicates to DSP board through COM1 port. But I am using
Microsoft Visual Studio 2005. The language that I am using is C#. I am
using the built in class SerialPort provided by Microsoft. When I send
some bytes to the output buffer they always appear somewhat later at
the input buffer...
This is really frustrating.I know how to turn off the local echo in
the Hyperterminal, but there seems to be no method for doing this in
Microsoft Visual Studio.

Please help me to resolve this problem

Thanks in advance
Nasif


Nicolas Noakes
Guest
 
Posts: n/a
#2: Sep 12 '07

re: HELP IN TURNING OFF ECHO IN SERIAL PORT IN CSHARP


Are you sure that it is not your DSP echoing the data?

Nicolas

"Nasif" <nasif4003@gmail.comwrote in message
news:1189579706.570161.178210@k79g2000hse.googlegr oups.com...
Quote:
HELLO ALL
>
I am new in serial port programming. I am currently doing a program
that communicates to DSP board through COM1 port. But I am using
Microsoft Visual Studio 2005. The language that I am using is C#. I am
using the built in class SerialPort provided by Microsoft. When I send
some bytes to the output buffer they always appear somewhat later at
the input buffer...
This is really frustrating.I know how to turn off the local echo in
the Hyperterminal, but there seems to be no method for doing this in
Microsoft Visual Studio.
>
Please help me to resolve this problem
>
Thanks in advance
Nasif
>

Jon Skeet [C# MVP]
Guest
 
Posts: n/a
#3: Sep 12 '07

re: HELP IN TURNING OFF ECHO IN SERIAL PORT IN CSHARP


On Sep 12, 8:28 am, "Nicolas Noakes" <annesvi...@hotmail.comwrote:
Quote:
Are you sure that it is not your DSP echoing the data?
Indeed, that seems by far the most likely explanation to me. "Local
echo" in hyperterminal etc is something that is explicitly performed
by the client program, as I understand it. It's not part of the
communications itself.

Jon

Nasif
Guest
 
Posts: n/a
#4: Sep 12 '07

re: HELP IN TURNING OFF ECHO IN SERIAL PORT IN CSHARP


On Sep 12, 1:52 pm, "Jon Skeet [C# MVP]" <sk...@pobox.comwrote:
Quote:
On Sep 12, 8:28 am, "Nicolas Noakes" <annesvi...@hotmail.comwrote:
>
Quote:
Are you sure that it is not your DSP echoing the data?
>
Indeed, that seems by far the most likely explanation to me. "Local
echo" in hyperterminal etc is something that is explicitly performed
by the client program, as I understand it. It's not part of the
communications itself.
>
Jon
Is there any sample code fragment that discards echos ?

Closed Thread