Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello Friends
I'd have a weight scale read from the serial port.
Can someone help me in this regard.
I am using C #.
Posted
Comments
[no name] 15-Feb-15 8:56am    
And what is the Problem?
Kornfeld Eliyahu Peter 15-Feb-15 9:03am    
You do not have a manual of that scale?
To read the serial port you can find here at CP a long list of articles, but that will not help you to understand the input you got...
Dave Kreskowiak 15-Feb-15 9:57am    
We can't really help you with anything because you never said what the problem is.

1 solution

Start by looking at the manufacturers details for the scale you are using: it should include the important details about the interface such as speed, bits per character, parity, and so forth, as well as the data format it is using - and there is no guarantee that it is "standard" in any way - which is why your first stop should be the manufacturer.

Then ensure that it works to your PC by connecting it and using HyperTerminal or similar to make sure that communications are working using the details from the manufacturer.

Then look at using the SerialPort class[^] - the link includes an example - which will let you start to form that communications with your 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