06-21-2012 03:21 PM
Hello,
I'm communicating with a device via UDP using a Win7 x64 workstation. I can sucessfully send datatgrams and the device responds correctly. The transmit port on the workstation is 10.1.0.68, port 61556 the receive port on the device is 10.1.0.230, port 25999, the transmit port on the device is 10.1.0.255, port 26000. The device is continuously brodcasting 824 byte packets at 60 Hz. However, I have not been able to read any output from the device.
My .vi is below:
What have I missed?
Thanks!
Bill
Solved! Go to Solution.
06-21-2012 04:32 PM - edited 06-21-2012 04:33 PM
Where is your broadcast stream coming from? You have so many devices and transmit/receives in your post it is not clear what is happening.
06-22-2012 03:14 AM
Could it be Windows Firewall or Anti-Virus software blocking the inbound data?
06-22-2012 06:04 AM
Do you have more than one network interface in the workstation? If so, you might be listening on the wrong interface. Use the optional net address input on UDP Open to specify which interface to listen on. Use the String to IP function on the TCP palette to convert an IP string to a net address.
With a timeout input of -1, I assume you are using the Abort button to stop the VI shown. You won't see any error message when you do that. Try using the default of 25000 ms.
The other suggestion regarding anti-virus and firewall settings are certainly possible...
06-22-2012 06:30 AM
See this recent post regarding firewall settings with Windows 7.
"UDP receiver.vi" does not work on "public" network type but on private and domain type. Why so?
06-22-2012 06:48 AM
Philip,
That was it. Thanks for your assistance!!
06-22-2012 06:51 AM
You hit on the nose. I should have known to check this first -- I've encountered it before, but I guess I was lulled into thinking since I was on a closed network it wouldn't be considered private. Thanks for the help, you've saved me a great deal of time and frustration!