Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
two c# applications communication between serial port

What I have tried:

two c# applications communication between serial port
Posted
Updated 30-Jun-19 21:27pm

1 solution

Start by making a physical connection: you will need an RS232 line between them both.
Then, use Hyperterminal (or similar) on both machines to ensure that you have identified the communications parameters correctly, and that the link is working fine.

Then all you have to do is set up a SerialPort Class[^] on each and handle the DataReceived event.
You can then start sending from one and receiving on the other, and vice versa. (The link contains basic sample code)
 
Share this answer
 

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