The ability to analyze and monitor COM port data is important when working with serial devices. Insight into the data traveling through your system’s RS232/422/485 ports can be instrumental when installing new equipment or troubleshooting network problems. You can monitor serial data to view event messages sent from applications and the status of serial devices.
The Windows operating system does not have any native facility for serial monitoring. You can, however, use specialized communication software to monitor serial ports and analyze your computer's serial activity. We are going to show you an excellent software tool that enables you to monitor serial port traffic in Windows.
Serial Port Monitor
Serial Port Monitor displays, logs and analyzes serial communication. Monitor serial port traffic and intercept COM port activity with Serial Monitor for Windows by Eltima.
How to analyze serial port traffic using Serial Port Monitor
To begin, download Serial Port Monitor, install it and launch the application. Next, you will want to start a monitoring session which you can do following these steps:
Go to the Main menu in the window displayed by Serial Port Monitor. Select Session -> New session.
You can use alternative methods to start a session. The keyboard shortcut ‘Ctrl + N’ and the ‘New’ icon on the main toolbar also bring up the ‘New Monitoring session’ screen.
Select which of the four available modes you want to use to display data captured during your monitoring session:
★ Line view – displays the details of requests that are transmitted through a specific serial line
★ Table view – allows you to view recorded IRPs in a table format
★ Terminal view – view all captured data on a console as ASCII text characters
★ Dump view – displays all serial data passes through a line.
The ‘Select all’ and ‘Select none’ buttons can be used to simplify your selections.
Your session can ‘Start in new window’ or “Start monitoring now’ by selecting the appropriate options.
In ‘Capture options’ select the events you want to monitor - Read/Write, Create/Close and Device Control.
Click ‘Start monitoring’ to initiate the monitoring session. The new monitoring window will be presented.
Saving your session can be done by navigating to the ‘Session -> Save session/ Save session As’ Main menu selection. You can also use the main toolbar’s ‘Save’ icon or the ‘Ctrl + S’ keyboard shortcut.
When saving your session give it a meaningful name so you can easily identify it for later analysis.
Video tutorial on how to analyze and monitor COM port traffic
How to compare several monitoring sessions
Sometimes you may run into a situation where it can be very beneficial to have a method that allows you to monitor the RS485 and RS232 data from multiple serial devices at the same time.
One scenario that definitely falls into this category can occur during testing for a new installation of a number of serial monitoring devices. There seems to be a problem as while monitoring serial ports you discover inconsistencies in the data being produced by the devices.
Having the ability to monitor the serial port communications of all newly installed devices can help identify and resolve the issue in a timely manner. This is just one example of the utility that can be gained by having your team monitor COM port device communication for several devices simultaneously.
Eltima’s RS232 Port Analyzer is an excellent serial port monitor for Windows 10 that lets you easily perform a comparison of several previously saved sessions to discern any differences.
Here is how to monitor COM port communication between your current monitoring and one that has been saved.
Start or open a monitoring session.
Select the ‘Session’ from the main menu and then ‘Compare Sessions’ in the sub-menu.
Select the specific monitoring files that you want to use.
You now can review the session easily as they are displayed in two adjacent windows, making it easy to identify differences.
Reproduce a monitoring session back to the serial port
Reproducing the flow of data of a prior transmission between a port and a device or application can be instrumental in enabling you to troubleshoot problems in your serial network. Making incremental changes and testing the response when the same data is sent can help pinpoint the issue and lead to a quick resolution.
Serial Port Analyzer offers a simple method with which to accomplish this type of comparison by letting you replicate the data sent in a previous monitoring session. Transmitting this data to the port in question allows you to see if your actions have improved the situation.
Here’s how to do it:
Start or open a monitoring session.
Select ‘Session’ from the main menu and the in ‘Reproduce' in the drop-down menu
Configure the settings as you need. You can control these parameters:
★ Use port - allows you to specify the port you will use in the session.
★ Send requests to this port - you can reproduce the data previously written to the serial port with this option.
★ Respond as a device - data written to the port by a serial device can be reproduced with this option.
★ Preserve time intervals - allows you to maintain the time intervals between the data packets.
★ Custom IO timeout - this option is used to specify Read/Write timeout parameters with the values measured in milliseconds.
Now just press ‘Start’.
What benefits you will get using Serial Port Monitor software
Observing a computer system’s flow of serial data is a difficult task to approach without the use of a serial monitoring tool. The addition of a monitoring application to your software toolbox lets you easily get a picture of the data transmissions between serial ports and devices. You can monitor RS232 data as well as display, analyze, and log the data. A tool with these benefits will appeal to developers in many situations. Here are a few of them:
✔ Monitoring multiple serial ports simultaneously can be a very important feature of COM monitoring software. You can obtain a more complete picture of your system’s serial device interactions when you can view them at the same time. You also save valuable time by not having to individually monitor each port or device. Learn more about how to test serial port communications in the simplest and most efficient way.
✔ Hardware COM monitoring solutions are prone to experiencing latency and time-lag problems. This can complicate a developer’s ability to successfully monitor and debug their systems. A software solution can help reduce these issues, streamlining development efforts.
Features such as a user-friendly interface that displays the monitored data in a variety of formats streamline the monitoring process. You can save data in files and use them at a later point for more analysis and the transmissions and connections are time-stamped for easy review and comparison.
✔ A software implementation of a COM monitor means you don’t require extra cables to monitor RS232 ports. There are hardware RS232 sniffers which allow you to monitor your serial communication but they will require the use of additional cabling in order to function correctly.
Extra cables mean more time spent managing the cables as well as the initial expense in purchasing them. Ease of use and reduced costs make an application like Eltima Software’s Serial Port Monitor a better choice than a hardware serial monitor.
✔ Substantial time and financial savings can be enjoyed by your IT team by using a software serial port monitor. Money is saved by not purchasing additional cables or hardware monitoring equipment.
Many businesses in industries as diverse as communications, design services, and semiconductor manufacturing have improved their bottom line by employing serial monitoring software. Its use can help smaller companies perform reverse engineering and gain a competitive edge on their larger counterparts.
Using a serial port analyzer can produce benefits for many businesses. In today’s competitive market, any small process improvement can lead to an advantage over a company’s competitors. The choice between a software and hardware solution to monitoring your serial communication is an easy one. The software application is much more flexible and cost-efficient.
✔ Operating a software serial monitoring solution does not require any specialized programming skills. You just need basic computer skills that enable you to install and launch the software tool on your system. Once that is done, any authorized user can easily monitor, log, and analyze all of the serial communication occurring between your system’s COM interfaces and devices.
Requirements: Windows (32-bit and 64-bit): XP/2003/2008/Vista/7/8/10, Windows Server 2012, Windows Server 2016
, 9.16MB size
Version 7.0.342 (14th Jan, 2018) Release notes
Category: Serial Port Software