11-19-2007 03:15 PM
11-20-2007
03:55 PM
- last edited on
09-28-2025
06:07 PM
by
Content Cleaner
Hi Z24top,
DataSocket is built on top of TCP/IP, so performance will vary largely with network bandwidth, network traffic, etc.; however, DataSocket itself involves very little overhead above TCP/IP, and some benchmarks have seen data transfer rates as fast as 320 KB/s between machines connected by 10BaseT Ethernet. The main limitation to DataSocket’s ability to transfer data is typically the network bandwidth, is your hub connected to a network?
When you say 7 MB takes over 13 seconds, is that using DataSocket? Does that mean it appears to take 4.7 seconds to transfer 66 KB and about 8.3 seconds to transfer the remaining 6934 KB? If that is the case, it may be the handshaking that is taking up much of the 4.7 seconds. Are you wiring anything to the timeout input on the DataSocket Read/Write VIs?
While DataSocket is a good method for data transfer, is there a specific reason why you chose it over Shared Variables or the TCP/IP VIs?
Thanks!
Regards,
Erik J.
11-22-2007 03:36 PM