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 6610683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:52:18+00:00 2026-05-25T19:52:18+00:00

When I go into the serial settings, the serial connection is closed. If I

  • 0

When I go into the serial settings, the serial connection is closed. If I select the wrong baud rate for the serial coming in the app freezes and I can’t even get any debug since it is still working but I am unsure what it is doing.

Ultimately, my question is how to check if the baud rate selected is correct and how to make sure the serial does not freeze my application.

  • 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-05-25T19:52:19+00:00Added an answer on May 25, 2026 at 7:52 pm

    I finally got it to throw an error. When it is trying to call sp.ReadLine(); it says that ReadLine() has timed out. I have the timeout at 500.

    I just used:

    try {
      data = sp.Readline();
    }
    catch (TimeoutException errorEvent)
    {
      //Write to console the errorEvent (This operation has timed out)
      //Message to user to pick correct baud
      tbConsole.AppendText(Environment.NewLine);
      tbConsole.AppendText("Incorrect Baud Rate: Please select a new baud rate");
      tbConsole.AppendText(Environment.NewLine);
      tbConsole.AppendText(errorEvent.Message);
      tbConsole.ScrollToEnd();
      //Show baud rate settings dialog
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hope you guys can help me out. I have information coming into a serial
Here is my scenario: I have some data coming into serial port. I want
Running into a problem where on certain servers we get an error that the
INSERT INTO files (fileUID, filename) WITH fileUIDS(fileUID) AS ( VALUES(1) UNION ALL SELECT fileUID+1
INSERT INTO [Tasks] ([LoginName] ,[Type] ,[Filter] ,[Dictionary] ,[Description]) Select N'Anonymous',4,'SomeTable.targetcode in (select Code from
I have some code that loads the serial ports into a combo-box: List<String> tList
I would like make an java app that communicates with a serial device(handheld scanner)
I have a thread to monitor serial port using select system call, the run
I am running into issues using the Serial Port component available in .net 3.5
I am trying to get an LED connected to a serial port to light

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.