Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7962841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:27:34+00:00 2026-06-04T05:27:34+00:00

I am reading data from a scale using a serial port. Communication is working

  • 0

I am reading data from a scale using a serial port. Communication is working fine, but I’m getting garbage from the serial port.

An example:

???s.R?????0?   ??o???????0?    ??o???????0?

My problem is, I don’t know the behavior of the scale. I don’t know if its sending me hex, binary or what. And I don’t know what value its actually sending. I don’t have any documentation on the scale to research it.

So I guess, by default, what is normally sent back over the serial port and how do I convert it into a readable value?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T05:27:35+00:00Added an answer on June 4, 2026 at 5:27 am

    That many question marks is a sign of having the SerialPort settings wrong. Starting with Baudrate, Parity is next.

    If the scale sends binary data then the Encoding property matters. The default is ASCII so that generates a lot of question marks if the bytes in the binary data are >= 128. In which case you should use Read() instead of ReadLine(). Which is what you want to use to start to troubleshoot this problem, you want to look at the raw byte values, you can’t see much from question marks. Pay extra attention to the last one or two bytes you get from a reading, they should repeat well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm reading data from a serial port using an event listener from the SerialPort
I'm reading data from a serial port, but the DataReceived event of SerialPort is
I am reading data from multiple serial ports. At present I am using a
I'm reading data from a serial port. I read this posting: http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/a709d698-5099-4e37-9e10-f66ff22cdd1e He is
Context: I am reading data from a serial port at 115.2 Kbaud. The read
While reading data from xls file, using oldedb as follows with no problem OleDbCommand
I am reading data from an sql database and the connection happens but the
I am reading data from an Excel 2007 spreadsheet using ADO. Setting up the
I'm reading data from an SNES ROM using Java. I am opening a stream
Im reading data from a com-port. Since I don't know when data is coming,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.