Calorified Posted January 30, 2015 Report Posted January 30, 2015 (edited) I have a UDP connection setup on a Windows 7 machine that runs an IMAQ code. The machine can send and receive udp connection so long as data being sent it is on the same machine. When I send the code from a different process (running on Windows 7), I am able to read the data on the RIO udp receiver VI (running on the Windows Host) as well. So I changed the sending program to a labview code and the udp receiver won't pick up the data. Could there be something I am missing? Attached are the PNG files (lava1 is the talker (same as the Kinect Code VI) while lava2 is the receiver). Any clues would be appreciated. Kinect Code.vi Edited January 30, 2015 by Calorified Quote
Neil Pate Posted January 30, 2015 Report Posted January 30, 2015 I have a UDP connection setup on a Windows 7 machine that runs an IMAQ code. The machine can send and receive udp connection so long as data being sent it is on the same machine. When I send the code from a different process (running on Windows 7), I am able to read the data on the RIO udp receiver VI (running on the Windows Host) as well. So I changed the sending program to a labview code and the udp receiver won't pick up the data. Could there be something I am missing? Attached are the PNG files (lava1 is the talker while lava2 is the receiver). Any clues would be appreciated. Check your Windows firewall. Turn it off completely and see if this fixes it, if it does then you perhaps need to add the LabVIEW.exe process to the whitelist for UDP. If this does not work, check the firewall again. Seriously I have lost hours debugging these kinds of issues only to find out it is usually Windows protecting me from myself. Quote
Calorified Posted January 30, 2015 Author Report Posted January 30, 2015 Check your Windows firewall. Turn it off completely and see if this fixes it. Turned off, no luck. Turn it off completely and see if this fixes it, if it does then you perhaps need to add the LabVIEW.exe process to the whitelist for UDP. And this is done in Firewall tool? Quote
Neil Pate Posted January 30, 2015 Report Posted January 30, 2015 Turned off, no luck. And this is done in Firewall tool? Yes, but if the firewall is totally off then it will not help. Quote
Calorified Posted January 30, 2015 Author Report Posted January 30, 2015 (edited) It's fixed actuially. It wasn't a firewall issue. It was an IP address conflict issue. Sad thing is it took close to 10 hours to debug this. Edited January 30, 2015 by Calorified Quote
Calorified Posted February 1, 2015 Author Report Posted February 1, 2015 Hi Neil, Have you ever had to stream data to some fpga vi via udp? I am having issues reading a streamed data to RIO on an fpga(pid) express vi. I used a local variable and tried a global variable as well to move the data over to the fpga vi while loop. In the while loop of the udp connection, I can read the data but not in the while loop of the fpga vi. The code itself is running on the RIO and the fact that the probe reads data in the scan engine loop tells me the integrity of the data I am streaming is not the issue. The png file is here. Looking forward to your reply. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.