LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Socket Server in LV7.1 hangs

Is anyone at NI going to address this issue ever? It seems to be getting worse from release to release.

I am trying to use DataSockets to communicate between two PCs. One PC has DS Server and the other one publishes data to it. When the publisher application starts up this hangs the Server on the other PC until the socket connections are established - about 1 minute to establish 7 sockets.

I have added publisher host to the Default Writer on the DS Server machine.

We are using .exes with LV Run-Time

We have been battling with this issue for the last two years and nobody has come up with definite answer as to why this is occuring. We have tried disabling firewalls, antivirus software and other things.

Could this be related to increasing security in Win XP?
0 Kudos
Message 1 of 2
(2,431 Views)
Hi Slawek!

One thing that could help is to navigate to your Hosts file of the PC running the DataSocket server. The Hosts file is in the directory: C:\WINDOWS\system32\drivers\etc. Open the file in Notepad and try adding the IP addresses and corresponding host names of the publisher PCs and see if this helps your connection time. This has been known to alleviate the delay in connection time in previous issues.

Hope this helps!

Travis H.
National Instruments
Travis H.
LabVIEW R&D
National Instruments
0 Kudos
Message 2 of 2
(2,416 Views)