06-20-2012 05:15 PM
I have an Ethernet setup with "UDP sender.vi" and "UDP receiver.vi" basically cast like the example pair of the same name shipped in LabVIEW examples i.e.. Nothing special and entirely basic.
The UDP sender regularly sends UDP packets (30 Bytes) to the receiver using the receivers IP number and port 80. The port number however appears not to be of relevance to the problem.
The sender and receiver are different machines, but both LabVIEW 2011sp1/32, Win7/64
If it runs on a domain network it works fine. If it runs on a "public" (Windows firewall terminology) Network using the IP number - no data comes through in the "UDP Receiver.vi"!
I have checked the obvious:
Any suggestions as to why a C++ program or a RIO can read from "public" UDP port, but a similar LabVIEW program can't? And in particular what can be done to solve it.
Thanks
henning
Solved! Go to Solution.
06-21-2012 02:30 PM
There are many other services that are blocked inherently in Windows when using a "Public" type network connection. Did you add an exclusion for LabVIEW so that LabVIEW is not blocked when using a "Public" type network?
06-21-2012 04:43 PM
Dear Tarantula,
Indeed, that was the problem. By default LabVIEW is blocked for inbound traffic on TCP and UDP on all public net ports.So an inbound rule: "Allow connection for all programs on public net UDP-80" is in fact overruled by the rule "Block LabVIEW on public net UDP all ports" for what concerns LabVIEW. Other programs having no block rule will work.
Thanks Tarantula, I am very greatful for your effective help. It has saved me a lot of work, and I can now move on with the work.
Regards
Henning