473,397 Members | 2,077 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Serial Port stops receiving.

Hi. I have a running app that listens to many virtual com ports connected
to Ethernet to RS232 coverters. Connected to each multi-port converter is a
bar code scanner, (RS232).

The app runs without any problems at all to start with, but after a certain
amount of time the port stops receiving data. I don't get any errors from
any of the equipment or software, but no data gets back to the PC.

Has anyone suffered the same? Has anyone fixed the same?

Cheers,
Tull.
Mar 14 '07 #1
2 1503
Hi There,

I have seen this problem before with ethernet to RS-232 conversion
hardware. Lantronix was the brand that was used, if I remember
correctly. There was actually nothing wrong with the application
itself, or the hardware either. The issue was that on the network ICMP
packets had been blocked. Periodically the hardware would want to
check / re-establish its connection to the destination, and it did
this with a ping. With ICMP unable to function on the network the
device never re-connected, and the communication stopped. This was a
bugger to track down but in the end turned out ot be a very simple
thing. I dont know if this is the same problem you are facing, but it
might pay to have a quick look and see.

I hope this helps

Cheers

The Frog.

Mar 16 '07 #2
Thanks for this Frog.

I found the problem in the end, as you state it was nothing to do with the
application at all. There were some odd settings in the NetCom virtual
drivers that appeard to be timing out. There were also some problems with
some Network management software from time to time checking the validity of
ports, which stalled the driver. We found some settings that basically
re-started the port if it was temporarily used by another process.

Thanks for getting back.
Cheers,
Tull.

"The Frog" <an**************@eu.effem.comwrote in message
news:11**********************@p15g2000hsd.googlegr oups.com...
Hi There,

I have seen this problem before with ethernet to RS-232 conversion
hardware. Lantronix was the brand that was used, if I remember
correctly. There was actually nothing wrong with the application
itself, or the hardware either. The issue was that on the network ICMP
packets had been blocked. Periodically the hardware would want to
check / re-establish its connection to the destination, and it did
this with a ping. With ICMP unable to function on the network the
device never re-connected, and the communication stopped. This was a
bugger to track down but in the end turned out ot be a very simple
thing. I dont know if this is the same problem you are facing, but it
might pay to have a quick look and see.

I hope this helps

Cheers

The Frog.

Mar 16 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: ^CeFoS^ | last post by:
Hello to everybody, I've done an application that draws in a frame the trajectory of a robot. The robot position is readed through the serial port, and several commands are wrote through the...
16
by: halukg | last post by:
I am trying to send a 6 byte char array from the serial port in new C# 2005 Express: com.Write(new string(new char { (char)34, (char)14, (char)192, (char)51, (char)0, (char)0 }, 0, 6)); I am...
7
by: Michael Chong | last post by:
I wrote a program that communicate with SerialComm. In every 300 milliseconds, my program continuously send & receive data via the serial port once the program starts. My program is once in a...
2
by: Padu | last post by:
Hi, I know that the System.IO.Ports.Serial port event for receiving data (DataReceived) happens on a secondary thread, and that if there will be any interaction of that data with the UI, it...
7
by: davetelling | last post by:
I'm a newbie that is still struggling with OOP concepts & how to make things work they way I want. Using Visual C# Express, I have a form in which I added a user control to display a graph, based...
2
by: pauland80 | last post by:
Hello, My soft passively listen to a device sending +- 300 bytes of data each second. After several hours of work, the soft abruptly stops receiving data without any error, (while the device...
2
by: colin | last post by:
Hi, Im having a tiresome amount of trouble with using a bluetooth serial link. The receiving end is a bluetooth-rs232 module conected to my embeded system. The PC has a little usb bluetooth...
5
by: kkadrese | last post by:
hello group, how to get ttyS0 serial port for exclusive access? I have a python script that uses this device with AT commands. I need that two instances can call simultaneosuly this python...
1
by: lutherchp | last post by:
A baffling end to my week! I open my serial port on my Debian PC (Debian version 5.0.1) I have a decent Null Modem lead going to another PC (I'll call it PC#2), with its port open with the same...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.