05-02-2014 06:49 AM
Hi, I found a couple of good suggestions on how to increase the UDP buffer size in Windows here, but I could not find any such suggestions for RT - does anyone know how to do this for LabVIEW RT?
Thanks.
Solved! Go to Solution.
05-05-2014 03:38 PM
Hi AnthonV
I think this should be a good resource for us:
http://digital.ni.com/public.nsf/allkb/45FEF8E4D56D39AF862579FE0053DB93
Please note that the above Knowledge Base Article only applies to VxWorks targets though. Which cRIO are you using?
Regards
05-06-2014 12:31 AM
05-07-2014 11:16 AM
Hi AnthonV,
The forum post you linked mentioned this Knowledge Base Article:
http://digital.ni.com/public.nsf/allkb/D5AC7E8AE545322D8625730100604F2D
The dll that it mentions, wsock.dll is also present on Pharlap targets.
You should be able to find it under ni-rt/system on the RT desktop.
Call this DLL using a Call Library Function Node and call the function specified in the Knowledge Base article setsockopt
and let me know what results from this.
Please make sure to create a backup of any DLLs you work with.
Regards,
05-07-2014 11:34 AM
05-13-2014 08:28 AM
Thanks this worked well. I wonder how large this buffer can be made? It was sitting at 65k by default and I tried up to 200k as a test and all went well.
05-20-2014 08:57 AM
Hi AnthonV,
I've looked further into this issue and it seems that the limits will be based on your hardware.
Also, please note that even though one function worked for the wsock.dll, the other function calls are not necessarily guaranteed to work.
Regards,
05-20-2014 09:05 AM