LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

UDP Send and Receive with Remote Host Only Issue

I am seeing an issue using the UDP Sender and UDP Receiver example VIs that ship with LabVIEW. If I open the VIs and do not change any of the settings and run the UDP Receiver VI and then the UDP Sender VI the Receiver VI never reads anything. However if I change the boolean on the UDP Sender VI to broadcast it works fine.  
 
The example program by default uses localhost so I have also tried to use the UDP Receiver on my Real Time controller and the UDP Sender on my laptop with the boolean set to remote host only and the remote host string set to the ip address of my real time controller and this did not work either. But if I change the boolean to broadcast it works.
 
I would like to be able to send to a remote host only and not have to broadcast my UDP message to everyone.
Please let me know if you have any suggestions.
 
Thanks,
 
Russell 
Director of Engineering
G Systems, www.gsystems.com
Certified LabVIEW Architect
Certified LabVIEW Embedded Systems Developer
Certified Professional Instructor
GCentral
0 Kudos
Message 1 of 3
(2,830 Views)

Hi Russell,

I did not have any trouble running the UDP examples on the localhost with the default settings.  Are you getting any errors? Which version of LabVIEW are you using?

0 Kudos
Message 2 of 3
(2,814 Views)
Elizabeth,
 
Thank you for the response. I am using LV 8.2.1 and wasn't seeing any errors. 
 
However I am not seeing the issue today, I must have been an issue with our network yesterday.
 
Thank you,
 
Russell 
Director of Engineering
G Systems, www.gsystems.com
Certified LabVIEW Architect
Certified LabVIEW Embedded Systems Developer
Certified Professional Instructor
GCentral
0 Kudos
Message 3 of 3
(2,808 Views)