Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Sunday, October 14, 2018 6:07 AM
I am try to create software for weighing bridge, while try read data using c# code, its showing some other data something
All replies (2)
Sunday, October 14, 2018 8:00 AM
From C#, use the SerialPort class to read from the serial port.
If the data comes in as garbage, check the configuration of the SerialPort (bits per second, bits per word, stop bits, parity). If the settings don't match those of the device that is transmitting the data, you will not get the correct characters.
Monday, October 15, 2018 7:14 AM | 1 vote
Hi fahadalshehili,
Thank you for posting here.
For your question, if you want to read data from serial port, you could download the source file from code project.
https://www.codeproject.com/Tips/361285/Serial-Port-Communication
https://www.codeproject.com/Articles/75770/Basic-serial-port-listening-application
Best Regards,
Wendy
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].