Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi,
I'm working on Serial Port Converter Process.How to connect serial port converter to C# coding.Can any one give me a solution for this.

Regards
Balamurugan
Posted
Updated 25-Sep-19 23:42pm
Comments
Sergey Alexandrovich Kryukov 16-Jan-13 2:08am    
Not clear what do you mean by "Converter Process".
—SA
Balamurugan1989 16-Jan-13 2:11am    
That Serial Port Converter shows the Weight of the Object.For this we need to connect the system to the machine.I'm working this process in C#.
Tharaka MTR 16-Jan-13 3:14am    
Yes, Question is not clear.

1 solution

You need to create and open a SerialPort instance connected to the machine, and read the data from it - you can then convert that into weights which your class can return.

Look at the MSDN page: SerialPort Class[^] - it includes a basic example of communications.
 
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