LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP

Hello everyone

I am trying to make a tcp server and client. I want when the client is shut off. all lights in the server can also be turned off. The program is OK the first time i shut down the client except the delay. it also work fine when i start the client again.But when i shut down the client again. the lights are not turned off.

i put the vi in the attachment. 

Thank you so much.

Download All
0 Kudos
Message 1 of 2
(1,910 Views)

Why are your TCP Opens in the loops?  You are continually reopening them, but only close the final reference once the loops stop.

 

I think you should go back and look at the client and server LabVIEW examples again.

0 Kudos
Message 2 of 2
(1,784 Views)