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: 

datasocket server too slow

i'm having an aquisition system running on one computer that needs to feed the data in real time to another computer at ~40mbyte/s to process. i'm running a datasocket server at the aquisition computer and have the second computer read packages of data from the datasocket server. but turns out it takes close to 2 sec to write 1 sec worth of data onto the localhost datasocket server. the two computers are connected through a private 2Gbyte local private network, so LAN speed is not an issue. is there some trick i can use to configure the datasocket server or client? or what is fastest way to stream data between two computers?
0 Kudos
Message 1 of 3
(3,007 Views)
Before data sockets, I got excellent results with a similar type of client/server app by just using the TCP/IP VIs. Look at the Data Client and Data Server examples in Comm example folder.

I believe I was streaming results at ~300 kS/sec within a 100 Mbs network connection!

Hope this helps
Robert
Message 2 of 3
(3,007 Views)
i used tcp/ip. and after some testing, was able to get a 30mbyte/s rate! thanks!
0 Kudos
Message 3 of 3
(3,007 Views)