Error 113 When Using UDP Functions in LabVIEW

Updated May 20, 2024

Reported In

Software

  • LabVIEW 2016 Full

Operating System

  • Windows

Issue Details

I am trying to use the UDP network functions in LabVIEW and I keep getting error 113. What does this error mean and how can I fix it?

Solution

This error could be caused by one of two things:
  1. A data set is being written to a network buffer that is smaller than the size of the data.
  2. Data is read into a buffer that is too small to hold the full size of received data.
Make sure that the data you are reading or writing is not bigger than the buffer allocated to hold the data.

Additional Information

There could also be internal network buffer size limitations that cause this error. Operating Systems often define their own maximum buffer sizes for standard network communications and these could also be limiting your data transfers. If using the Windows Sockets API, the following article has information on how to set the Windows socket buffer size: Loss of UDP Packets at Fast Transfer Rates.