468,556 Members | 2,404 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,556 developers. It's quick & easy.

writing and reading to a serial port in c#

hai,
im a student. i am assigned a task to instruct a robot. for this i
want to write and read from com1. i do not know how to configure the
port using DCB structure. i have a data rate of 9600bps, odd parity, 7
data bits, hardware flow control. i do not know how to do this in c#.

thanks in advance.
Nov 16 '05 #1
3 7598
check this..
http://www.gotdotnet.com/Community/U...7-73e09c4d5890

Av.

"Gayathri Subramaniam" <ba****@hotmail.com> wrote in message
news:40**************@hotmail.com...
hai,
im a student. i am assigned a task to instruct a robot. for this i want
to write and read from com1. i do not know how to configure the port using
DCB structure. i have a data rate of 9600bps, odd parity, 7 data bits,
hardware flow control. i do not know how to do this in c#.

thanks in advance.

Nov 16 '05 #2
hi,
thank u very much avnrao. i found the link useful. now i am able to
configure and write to the port. but i am unable to read from the port.
i guess i should use the overlapped operation i don't know how to do
this. can anyone help me.

thank u.
Nov 16 '05 #3
hi all,
i have found one dll for serial communication in c#. it is really
useful. we can connect to the com port using only one class. really it
is an easy job. i will send the rs232 dll as soon as possible.

gayathri
Nov 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by ^CeFoS^ | last post: by
13 posts views Thread by jay.dow | last post: by
13 posts views Thread by Rob | last post: by
4 posts views Thread by Petr Jakes | last post: by
16 posts views Thread by bloggsfred00 | last post: by
2 posts views Thread by Nasif | last post: by
9 posts views Thread by Hal Vaughan | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by UniDue | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.