Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

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
(2,392 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
(2,266 Views)