writing and reading to a serial port in c#

  • Thread starter Thread starter Gayathri Subramaniam
  • Start date Start date
G

Gayathri Subramaniam

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.
 
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.
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

serial port - again 6
Writing serial port does not work 2
Serial Port Handling in C# 1
Serial port in .NET 6
serial port programming in c# 2
Serial Port 4
Serial port proxy 1
Comport (to access USB) - new to C# 9

Back
Top