Hi Urs,
UDP does not guarantee the safe arrival of data to the destination. It's good for fast but not reliable applications. Data sent in multiple packets may not arrive at the destination in the order they were sent. Therefore UDP should be used to send short, non-critical messages to one or more destinations.
I don't know if you've already seen this interesting tutorials:
http://zone.ni.com/devzone/conceptd.nsf/webmain/BA7F1D7CE009BE7686256A5B004F335D?opendocument
http://zone.ni.com/devzone/conceptd.nsf/webmain/BB41313D7AB28CBD86256802007B8DC5?opendocument
You cannot use the UDP functions in LabVIEW to configure a buffer. Instead, LabVIEW and the operating system implement the buffer. The attached example shows how to benchmark the size of th
e UDP buffer. Adjust the wait parameter and insert your code as necessary. The VI sends a packet to localhost and reads the packet. As the VI runs, the packet size grows until UDP Read no longer returns the original array, which is written with UDP Write.
The cycle time depends always on your code (the data you're) sending.
Hope this helps.
Regards,
Luca
Regards,
Luca