Solved

serial port monitor and playback

Posted on 2012-04-08
7
872 Views
Last Modified: 2012-04-08
We are trying to debug the data stream coming from a medical monitor to pc-based software through a serial port (com1)

We need to record the data stream (it is a binary data stream, not ASCII), look at it, and be able to play it back (out com2, through a null modem, back into com1) to mimic the original data stream.

Have downloaded HHD Software- Serial Monitor Ultimate and also Eltima Serial Port Monitor.  HHD Software looks more powerful, but can't get either to play the data stream back out com2.  Tried copy /b log.bin com2
but device driver on com1 didn't see anything connected ("CTS low on COM1)

Any suggestions, or better software for accomplishing this?
0
Comment
Question by:dakota5
  • 4
  • 3
7 Comments
 
LVL 62

Accepted Solution

by:
☠ MASQ ☠ earned 500 total points
Comment Utility
It's been a while but I used to use a utility called SerialSniffer to do this in a Biometrics Lab
This seems to be the current Iteration of the same product, not sure if the unregistered version will give you enough capture to see if it's what you need though but used to input live data and then playback from the capture machine to emulate this.

http://www.serialsniffer.com/en/sites/serialsniffer_modul_a.php
0
 

Author Comment

by:dakota5
Comment Utility
going to try this now.  Will repost, soon.
0
 

Author Comment

by:dakota5
Comment Utility
Purchased the base module and the recording module and the virtual port module.
Can record what looks to be the binary data.
But when I go to play back, I get error "Comport A is not open for serial connection"

Even when I attach Comport A to a virtual port.
Based on the instructions, we are supposed to be able to playback to a virtual port and connect our application to this.

Any ideas.  I'll email to serialsniffer.com, but that will probably take days.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 62

Expert Comment

by:☠ MASQ ☠
Comment Utility
Like I said it's a while since I was using it (EMG recording) I remember we needed two licences, one to record and one to emulate the playback port but it worked fine. I guess we need to wait until after the holiday.  Can ring the lab and see what they're using but no one there until Tues.
0
 

Author Comment

by:dakota5
Comment Utility
Right.  I purchased both additional modules--- the base program, Module A (recorder) and Module B the Virtual Serial Port module.
Not many people know about debugging serial ports anymore-- any help you can provide after the holiday is greatly appreciated.
0
 

Author Closing Comment

by:dakota5
Comment Utility
In Serialsniffer you must "start" the Comport that you are playing back from.  Start means connect to a serial port.  Same start that you use to listen (sniff) a serial port.

Now it is playing back nicely.  Good program.
Thanks.
0
 
LVL 62

Expert Comment

by:☠ MASQ ☠
Comment Utility
Great - thanks for the update :)
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now