Click here to Skip to main content
15,892,072 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends,

I want to read values coming from weighing machine in my application where some of told me that the values received from com port (connected to weighing) machine is in the byte code.Please tell me the solution how to read that value or which type of value their will exist.

Regards,
Shivaji Mali
Posted
Comments
Maciej Los 19-Aug-15 1:41am    
Not a valid question! If you're not sure where and how weighing machine sends data, how do you want to fetch these data? Go to documentation or ask a producer (supplier).
DamithSL 19-Aug-15 1:41am    
check from weighing machine manufacturer for programming interfaces.

Using the serial port in C# is straightforward, see, for instance, "How To Work With C# Serial Port Communication"[^].
However you need to know what kind of data are coming from the weight scale, that is how to interpret the bytes received (i.e. you have to read the weight scale documentation).
 
Share this answer
 
Impossible to answer !

Every single manufacturer of theses machines use different communication protocol and deliver the weight in different format.
You have to read the documentation of the machine.

And for serial port communication, you can follow the link of Solution 1 or Google for examples or tutos.
 
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