Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I am trying to do half duplex communication Using serial port class in C #..
i want to Implement Halp duplex mechnism where If transmitter transmiits the reciever should be ideal till transmitter completes.
After recieving data reciever should send acknoledge in Response.

Can any one help..
What do i do..
Posted
Updated 20-Apr-12 20:57pm
v2

Serial port is for communicating to devices which support the the RS232 interface (usually lab and measurement devices).

To use the COM port see : Serial Communication using C# and Whidbey[^]
 
Share this answer
 
Comments
anilsarapati 21-Apr-12 1:39am    
Thanks for the reply mehdi i used the code in the present link earlier. But I am facing a problem in sending and receiving the instructions. Actually I have to connect a laboratory device through serial port and I have to send some instructions to that device and on the response it will return the records of the particular tests. To communicate with that device astm standards are used. Can u please give suggestion how to handle this, because I am not familiar with this kind of programing.
Mehdi Gholam 21-Apr-12 3:33am    
Try using a com terminal program to see if your commands work first and you can communicate with the device, then code them.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900