From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

UDP Normal and Multicast Not working on Linux RT based NI RT Systems

Solved!
Go to solution

yes, I see that I'm writing the IP in the Open Send function...when I have time, I'll take that out.

 

FTY: this is from those RT systems that have dual ethernet ports.

 

Jack

0 Kudos
Message 21 of 29
(3,658 Views)

So I tried it again, removing the IP address input on the UDP MCast open and still get an error 59 - Unreachable address. As I am connected to the sBRIO via ethernet, the enthernet is of course not down...

 

 

 

Mcast UDP sbRIO-9636.png

0 Kudos
Message 22 of 29
(3,614 Views)

To give a fair shake to the sbRIO-9636 I formatted it and reinstalled *ALL* the software...No joy.

 

Mcast UDP sbRIO-9636 T2.png

 

sbRIO-9636 Software.png

0 Kudos
Message 23 of 29
(3,604 Views)

With regards to 'still get an error 59'...  That is a new error message/number.  The previous error was generated on the receiver and was error 56. Error 59 is now happening on the sender and is a different condition.

Spex
National Instruments

To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be has a 2x safety factor...
0 Kudos
Message 24 of 29
(3,591 Views)

Spex,

 

To clarify: I changed the UDP MCast Sender by removing the IP address of the sending host (required for dual ethernet cRIO). This was posed by one of the responders to my post where I posted the diagram code.

 

I ran this on the sbRIO-9636 and still got nothing coming out - nothing received on Host PC. Then formatted the sbRIO, installed ALL the software - ran it again...got the same problem....nothing received.

 

Step 2:

In desperation: I tried the UDP MCast 'Receive' on the sbRIO and get error 54...so there is definetly a problem...

 

NOTE: Normal UDP works!. So I know it's not a firewall issue on my host PC.

 

I'd like to clear this problem up.

 

Regards

Jack Hamilton

 

0 Kudos
Message 25 of 29
(3,568 Views)

Jack,

 

I ran the example VI a second time and was able to see data transferred regardless of where the Sender and Receiver were (i.e, Sender on sbRIO/Receiver on host, Receiver on sbRIO/Sender on host). You keep mentioning the requirement for dual ethernet cRIO for the extra code you were using, but the sbRIO 9636 only has a single ethernet port. I feel like there is some confusion somewhere. Does the sbRIO you're using have multiple ethernet ports?

0 Kudos
Message 26 of 29
(3,535 Views)

Hello Jack,m

 

i have the same problem... error 59... is there a solution ?

 

BR nico

0 Kudos
Message 27 of 29
(3,402 Views)

BR,

 

No...there is not. It's how much of the TCP/IP Stack NI implemented on that particular device. And there is NO list that I can find from NI that states this before you open the box.

 

Further; getting any specific information about your sbRIO, cRIO, SOM begins a ping-pong game between the hardware Product Line Manager and the RT NI teamSmiley Mad...what really defines what's working your RT hardware is controlled by the RT software group. And they have not fully implemented things uniformily across the RT line.Smiley Frustrated

 

Normal UDP works. But it's not a clean as Multicast.

 

BTY: You cannot open more that one UDP READ on the same Win system....

 

Regards

Jack Hamilton

 

0 Kudos
Message 28 of 29
(3,392 Views)
Solution
Accepted by MrJackHamilton

I've found a solution to the problem of Multicast UDP on RT systems [at least sbRIO and likely cRIO]

 

Specifically: you need to wire the IP of particular ethernet port of the RT system into the UDP Create function. Otherwise, with multi-IP port RT systems the obtain cannot choose.

 

I've attached a working Multicast Sender you can drop into your RT code. Additionally, it includes the IP of RT system, Model, SN and Firmware version.

 

Enjoy,

Jack Hamilton

 

MCast RT Diagram Detail.png

Message 29 of 29
(2,789 Views)