From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I would like to see the ability to select which network interface UDP writes are written to. Presently the UDP method in labview allows you to select interface for reads but writes automatically go out the "default interface" having a system consisting of a wired card, wireless card and a virtual interface is bringing about this need. I can manually turn off the virtual in the network control panel but there should be a way to just output to the device one wants to
I believe the UDP Write selects the network interface based on the routing table. In most cases this is enough to get it right but virtual interfaces in particular VMware have caused problems for me in the past. The issue is that Vmware directs all link-local (169.x.x.x) traffic to its virtual adapter by adding to the routing table.
I have never tracked down whether this behaviour by VMWare violates any standards or conventions but if it does not then any number of other applications could be doing this and we need more flexibility in UDP Write.
interesting point here. I decided to wire "net address" into the UDP open function and it DOES work for write as well. I have a feeling maybe the function was updated but the help was not. I have verified this functionality with wireshark