你的UDP协议是标准的就可以。你的传感器IP地址/端口号是多少都需要填写到UDP open函数上。
D:\Program Files\National Instruments\LabVIEW 2011\examples\comm\UDP.llb\Named Service UDP Server.vi
D:\Program Files\National Instruments\LabVIEW 2011\examples\comm\UDP.llb\Named Service UDP Client.vi
127.0.0.1是本机IP地址,可以参考labview自带的例子