LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP server work reluctantly

Solved!
Go to solution

I have built a server and a client to communication each other ,it works but it seem a little strange of my computer(the fan run fast and the CPU and internal memory seems short).I want publish it onto a public server to accomplish some functions for days , so I need to ensure them .

捕获.PNG

the above is the top VI of the server.

捕获1.PNG

here is the subVI in the server.

 

ok, what confused me is that there are so many references&ID, I donot know whether a "colse ref" method is necessary at the specific place, it is said that if I forget to "close", there will be lots of references in internal memory and eventually slow down my computer.

 

---------------------------------------------------------------------------------------------

below is my client's diagram:

捕获2.PNG

ok, that are all.

 

any suggestion ? thank you !!

0 Kudos
Message 1 of 2
(2,412 Views)
Solution
Accepted by topic author alii001

Get rid of the stack sequence.

use error bus to force data flow.

Second there is example of vi that do exactly what you need in.

In LabVIEW click help find examples.

Benoit

0 Kudos
Message 2 of 2
(2,409 Views)