02-27-2007 06:21 PM
02-28-2007 01:16 AM
Hi Guy,
Would it work to have the RT server poll the Host/Client periodically? The RT-Server could send anything to the client, say a U32, that the client would send back within a very short time. If this loopback doesn't happen, it's probably safe to assume the client-connection is dead.
Is this a case where it's reasonable to expect client connections [to RT Server] will simply go dead and we need a way for the Server to test the connection?
Cheers!
02-28-2007 11:53 AM
02-28-2007 10:20 PM
Hi Guy,
Maybe a bit more info would help! What do you mean by "a TCP connection is lost"? Are the RT functions being Served to a network through the "Host", and it's the external-connections to the Host that are questionable? Please describe a scenario where a connection is "lost". Are you writing the "Host" software as well as the RT-Server software?
Cheers!
07-03-2008 02:26 PM
Guy,
I am currently looking at the same problem as yourself. I setup a crio as the server and am communicating over satellite (Hughsnet) to my computer here in the lab. Both the crio and the satellite are both here in the lab so I can simulate problems that I am viewing with other installations I have running. I too have not been able to get to the root cause of disconnecting and then reconnecting the cat 5 between the crio and satellite modem and then continue to transmit data. I have worked with error control on the host side and can programatically clear errors and re-establish connection if I reboot the crio but not if I unplug it. I can re-establish connection though if I reboot the crio after I have unplugged it. I have been working with the RT Reboot Controller.vi on the real-time side but to no avail. Any thoughts or hints as to a possible solution would be great. If you like I can go into detail on what I have done and tried.
TNx,
/steve
07-08-2008 12:02 AM
07-08-2008 11:08 AM
Hay Packman;
When I reboot the crio manually the 3rd led lights on the crio and the lan connection lights go off and then back on. Using the vi. I dont see any visual indication of a reboot and nothing changes on the host. ie. I still maintain error 56 from the tcp reads.
07-22-2008 11:47 PM
07-23-2008 08:36 AM
08-13-2008 12:01 AM