Having 200ms Delay in TCP/IP Communication

Updated Nov 4, 2020

Reported In

Hardware

  • sbRIO-9205
  • cRIO-9045

Software

  • LabVIEW

Issue Details

I'm communicating with a device using TCP/IP communication, and I often see a 200ms delay in the data, what could be causing this delay?

Solution

This delay can be caused due to an inherent 200ms delay in TCP/IP communication when the Nagle algorithm is being used.
 
LabVIEW uses the Nagle algorithm by default, so in order to disable it, you can follow the instructions provided here.