01-19-2011 01:06 AM - edited 01-19-2011 01:11 AM
Hi MSD100,
can you maybe attach a picture of your vi's? Currently i have only LV8.5.
Did you try this example http://forums.ni.com/t5/LabVIEW/tcp-ip-timeout-problem-client-server/m-p/1413074#M548288?
This example can be stopped without a connection. Can you please explain why this isn't working for you?
Try to help
Mike
01-19-2011 01:27 AM
hi mike !
i have tried your suggestion...but there must be something missing on my side...
I am attaching for 8.5 version.
can you see it?
01-19-2011 01:36 AM
Hi MSD100,
yes thanks, i got it.
The reason it doesn't work for you was, that the refnum you want to close was connected after the "TCP Wait on Listener". Because of the data flow the "TCP Close" function could not run.
See the attached example, it should work for you.
Mike
01-19-2011 08:56 AM
I forgot to attached the revised version.
01-25-2011 04:37 PM
Here is a mdified version that allows for bidirectional communication between the client and the server. In addition, the server will remain running and accepting new connections after a client disconnects.