Hardware, Software & Product Development | Sparx EngineeringHardware, Software & Product Development | Sparx EngineeringHardware, Software & Product Development | Sparx EngineeringHardware, Software & Product Development | Sparx Engineering
  • Home
  • Expertise
    • Software Engineering
    • Electrical Engineering
    • Chemical Products and Services
    • Biomedical Engineering
    • Mechanical Engineering
    • Production Management
    • Automation
    • Industrial Design
  • Blog
  • About Us

Blog

Reading line-by-line from a serial port (or other byte-oriented stream)

By Ben Voigt | Software | 10 comments | 16 March, 2017 | 6

With many .NET developers moving from the traditional (and broken) System.IO.Ports.SerialPort DataReceived event handling to either the correct and more efficient BaseStream.BeginRead / BaseStream.EndRead pair I promoted in my last post or the newer BaseStream.ReadAsync method introduced in .NET Framework 4.5 along with the C# async and await keywords, a common complaint is that BaseStreamRead more

If you *must* use .NET System.IO.Ports.SerialPort

By Ben Voigt | Software | 172 comments | 7 May, 2014 | 29

As an embedded developer who writes desktop software mostly for configuration of, and data download from, peripheral devices, I use serial data streams a lot.  Mostly USB virtual serial posts from FTDI, but also the USB Communication Device Class and real 16550-compatible UARTs on the PCI bus.  Since looking at data through an in-circuit emulatorRead more

Recent Tweets

  • #Houston ranks among fastest growing #tech hubs amid the pandemic, report finds https://t.co/nYhydlOPP0

    1 year ago
  • RT  @SpaceX : Docking confirmed – Crew Dragon has arrived at the  @space_station ! https://t.co/KiKBpZ8R2H

    2 years ago
  • RT  @SpaceflightNow : SCRUB. SpaceX’s launch director has announced there will no launch today due to bad weather at the Kennedy Space Center…

    2 years ago
  • Home
  • Expertise
  • Blog
  • About Us
Sparx Technologies, LLC. dba Sparx Engineering © 2009 - 2021 | All Rights Reserved
  • Home
  • Expertise
    • Software Engineering
    • Electrical Engineering
    • Chemical Products and Services
    • Biomedical Engineering
    • Mechanical Engineering
    • Production Management
    • Automation
    • Industrial Design
  • Blog
  • About Us
Hardware, Software & Product Development | Sparx Engineering