LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I connect Multiple TCP server ports?

Solved!
Go to solution

12 TCP clients can connect to each of the 12 open servers and read them continuously in the finished program. Importantly, 12 clients are created and connected in a single 'while loop'. This operation consumes up to 30% of the current CPU shares. How do I reduce CPU shares by 20% or more lower? Attention, the number of ports cannot be changed.

I am writing with a translator, so if you have a qustion, comment plz.

0 Kudos
Message 1 of 3
(1,273 Views)
Solution
Accepted by topic author (주)CLK

What is "continuously"? What determines the loop rate?

How much data is exchanged over the network?

Is it 12 clients to each of the 12 servers for a total of 144 connections?

What is consuming CPU? The server or the client?

Are both sides of the connection written in LabVIEW? Who wrote the code?

 

It would help if you can explain in much more detail and even attach some simplified code.

0 Kudos
Message 2 of 3
(1,253 Views)

- Continuous literally means reading all the time.

- Maybe lower than 3000byte 

- Just 1 client connet to 1 server.

- Only clients use CPU usage.

- Only clients written in LabVIEW.

 

Thank you to receive your reply. But the question has already been resolved. 통신 연결 방식.PNG

 

 

0 Kudos
Message 3 of 3
(1,243 Views)