08-17-2020 05:12 AM
Hi everyone,
I need to perform the TCP/IP Data streaming for the duration of 30 min at 2000 packets per second. each packet consist of 500 bytes of data. I made the simple TCP connection and the data via TCP write function. but, i need to check the latency (< 2 ms) of each packets the problem is both the system is having different clock time. im not having any source to perform the time sync between PC's. and suggest the minimum latency level of TCP in windows (LabVIEW).
09-14-2020 05:28 AM
You could synchronize the clocks, using for instance NTP. That should be reasonably accurate.
Or, send the data and then send it back. That should give you (more or less) 2X the 'worse case' latency. There will be overhead, but if you measure <2ms, it's probably better in real life.