How to capture
serial port data

Olga Weis

The serial port is a general name given to RS232 interfaces, which were widely used in telecommunications equipment in the past. When the USB interface was introduced, serial ports were dislodged, remaining mainly in the industrial sector. Today, serial ports are used to connect to a computer a wide range of equipment that is undemanding to the data exchange speed, especially if the device is significantly distant from a PC.

Contents


  1. Why might one need to capture data from a COM port?
  2. How to capture serial port data on Windows with Serial Port Monitor?
  3. Serial Port Monitor main characteristics.
RS232 data capture

Why might one need to capture serial port data from a COM port?


Tracking down a problem that might appear during the development stage of the custom application or a driver for a COM device and dealing with it in the shortest time would not be possible without the ability to capture serial data and store it for the later use and analysis.

Unfortunately, Windows does not offer any built into the OS utilities that would help achieve this. So, one would need to resort to help of a specialized serial data capture software, such as Serial Port Monitor that would assist with capturing and examining the data exchange between RS232 devices and Windows applications.


Serial data capture software

SPM logo

Serial Port Monitor [Professional Edition]


Requirements: Windows (32-bit and 64-bit): XP/2003/2008/ Vista/7/8/10, Windows Server 2012. 9.16MB free space. Version 7.0.342. (15th Jan, 2018). 4.8 Rank based on 41+ users, Reviews(75)
Category: Serial Port Software
Serial Port Monitor, a software utility produced by Eltima Software to capture serial data, will definitely come in handy with software/hardware debugging and development.
Serial data capture software

How to capture serial port data on Windows with Serial Port Monitor?


To start with, one will need to download Serial Port Monitor, install and start the application. After that, a new monitoring session should be started:

  1. Select the “New session” option from the “Session” menu. Other ways are to choose “New” on the toolbar or press “Ctrl+N”.
  2. Capture COM port data
  3. Select the COM port to monitor and the visualizers that will be displayed.

  4. Choose, whether you would like to “Start monitoring now” or “Start in new window” for the immediate behavior of a new session.
  5. Start to captire serial port data
  6. In “Capture options” specify the events you’d like to capture – Create/Close, Read/Write, Device Control.

  7. Select “Start monitoring” to begin the session.

  8. To save the session, select “Session → Save session/ Save session As” in the main menu. Also, you can click the “Save” icon on the main toolbar or press “Ctrl + S”.

  9. Every view can be exported into the separate logs of various formats (HTML, ANSI/UNICODE TXT). Besides, serial data captured from the Table view can be saved to a CSV file and used in MS Excel. To export a view, select the “Export to” option in the view menu on the toolbar.

Serial Port Monitor customer's feedback

When trying to build a custom dashboard for a third party Li-Ion Battery Management System based on Texas Instruments BQ76940 and Atmel 8-bit line of microcontrollers, the integrated circuit manufacturer provided a "brief" description of the communication protocol. This description wasn't enough or complete, so analyzing the protocol transmitted while using the manufacturer provided Windows based dashboard was a must. Eltima's Serial Port Monitor with the capability of "sniffing" open serial ports on Windows platform was the best tool to do the job. Now I can see in realtime the protocol flow and understand the documentation, saving me a lot of trial and error while programming. I'm very happy of having found this piece of software.

Eduardo Roldan (Linux Expert, DIYer, EV Enthusiast)

Serial Port Monitor key features


Serial Port Monitor, a software utility produced by Eltima Software to capture serial data, will definitely come in handy with software/hardware debugging and development.

  • RS232 data capture
  • Capture and view the data exchange between the connected serial appliance and the application which opens the corresponding COM port. The information is collected in real time once the data packets are being transferred.

  • Monitor lots of serial ports at once
  • An activity from multiple COM ports can be captured using Serial Port Monitor. Data will be displayed in logs on a first-in-first-out basis, which will be especially convenient for later analysis.

  • View and export data
  • Select one from the 5 available view modes: Table, Line, Dump, Terminal or Modbus to display data in the required form. Capture serial data to file to examine it when the most convenient for you.

  • Send data to a serial device
  • A built-in terminal will allow you to open/close RS232 ports and send specific types of data to a serial device, what will be an excellent method to check its response to a certain command.

Serial Port Monitor

Requirements: Windows XP/2003/2008/Vista/7/8/10/Server 2012 , 9.16MB size
Version 7.0.342 (15th Jan, 2018) Release notes
Category: Serial Port Software