Advanced TCP/IP data logger (Professional)

Started by Adamastor77, May 25, 2010, 01:01:31 PM

Previous topic - Next topic

radfahrer

I have just the regular Serial Data Logger and suspect I may be having this issue as well.  We're running it as a service on a Server 2003 machine.  We have 4 Serial/Ethernet converters (Lantronix) on our system and we're sending the data to a PDF.  It appears that spontaneously the logger stops running one or more of the interaces as a service...when I connect interactively with the application, the data shows up in the application for that interface but not in the PDF file.  I noticed for interfaces running properly, when I connect with the application, it gives a message saying the interface is locked (which makes sense since the service has control), but for the one that is broken I don't get that message.

Would loss of power cause this issue?  I currently don't have Keep Alive enabled, and am planning to do that, but the 2 hour retry timer is unacceptable for our application as well, so I'm curious if a resolution was found on how to modify that time.

Thanks,

Greg Krueger

Arthur Grasin

Hello, Greg.

Please, activate the "Try to connect after unsuccessful attempt" option + Keep-Alive. In most case it solves all problems.
If you like my work, please take a few seconds and add feedback about our site or our software [here]

Arthur Grasin

Thanks Greg, for the following description from MS website.

QuoteTwo per-interface registry settings under the key \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Tcpip\Parameters control the behavior of TCP/IP keep-alives:

The KeepAliveTime value specifies how long the TCP connection sits idle, with no traffic, before TCP sends a keep-alive packet. The default is 7,200,000 milliseconds (ms) or 2 hours.

The KeepAliveInterval value indicates how many milliseconds to wait for a response after sending a keep-alive before repeating the keep-alive. If no response is received, the TCP/IP stack continues sending
keep-alives at this interval until a response is received or until the stack reaches the packet retry limit specified in the TCPMaxDataRetransmissions registry key. KeepAliveInterval defaults to 1 second (1000 ms).
If you like my work, please take a few seconds and add feedback about our site or our software [here]