ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

server/client between 2 PCs

The example SimpleTCP client/server.vi work fine, when server is  a note PC, and client is a desktop PC. But when server is the note PC and client is the desktop PC, speed is very slow.  I have to wait 20 seconds until data changes. Both PCs are connected to the same hub in my home.

I tested a client/server exe.  The result is almost symmetric. Therefore, I believe the above asymmetry is due to LabVIEW enviroment. What is the reason for the asymmetry?

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

By the way, the desktop instals LV2014, the note instals LV2019(evaluation).

0 Kudos
Message 2 of 3
(2,336 Views)

 To demonstrate the asymmetry, I have prepared a pair of client.vi and server-A.vi.

If I put the server-A.vi on the desktop PC, and the client.vi on the note PC, responce takes a few seconds. But, if I exchage the vis, responce is immediate. 

 I have found a symmetric server-B.vi. In this case, responce are both immediate.

 I hope someone explains the reason why server-A is asymmetric and server-B.vi is symmetric.

 

client.pngserver-A.pngserver-B.png

0 Kudos
Message 3 of 3
(2,255 Views)