LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to enlarge the UDP Socket buffer size in LabView (on a Windows PC)

Hi everybody,

Does anyone know how to set the buffer size of a UDP-Socket in Labview on a Windows machine?

Thanks for any request...

Uli
0 Kudos
Message 1 of 5
(3,588 Views)
The buffer size for UDP communication is handled by the OS and can't be set in LV. Maybe this can be changed somewhere in the registry but I don't have knowledge about that. Please check with Microsoft's support resources.

Best regards,

Jochen Klier
National Instruments Germany
0 Kudos
Message 2 of 5
(3,569 Views)
Jochen,

thanks for the reply. I couldn't find any possibility to modify the UDP socket parameters in Windows. I know that there are ways to do change socket values e.g. in Java. Somehow LabView should be able to do that too.

Uli
0 Kudos
Message 3 of 5
(3,563 Views)
Unfortunately in LabVIEW there is really no direct method or property available to change this buffer size. If in JAVA there is a way to do that I suppose it's using some Windows SDK functions. Typically these are DLL calls so there is a chance that you might be able to accomplish that by calling a Windows System DLL but I really can't tell you which DLL and which function. Again, this should be documented at Microsoft .

Best regards,

Jochen Klier
National Instruments Germany

0 Kudos
Message 4 of 5
(3,560 Views)
Does anybody else know how to change the udp soket parameters in Windows?
0 Kudos
Message 5 of 5
(3,552 Views)