LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

UDP RT-Host connection problem

Hello,

I'm writing here asking for help in UDP connection between RT and Host.

When I run Simple UDP NI example that sends data between two ports on the localhost everything works fine. But when I move Sender vi to RT target I get 59 error (LabVIEW: The network is down, unreachable, or has been reset.).

It seems to be a problem with IP address. Does anyone has any idea what I do wrong? I attach the code: Simple UDP Receiver und My Computer, and Simple UDP Sender under the target.

I found this post: https://lavag.org/topic/16630-network-discovery-via-udp/  but it seems that the author tried to establish UDP connection between sender and receiver located (both) on RT target, while I try to write from RT to the PC.

Thank you for your time

0 Kudos
Message 1 of 2
(2,435 Views)

Hi Riv,

 

 

                  I would suggest you start from the following example ( it also uses myRIO with an UDP connection 😞

 

 

                     https://decibel.ni.com/content/docs/DOC-42180

 

 

Regards,

0 Kudos
Message 2 of 2
(2,380 Views)