UDP Error Simulink Real-Time

5 次查看(过去 30 天)
Oktay Mutlu
Oktay Mutlu 2024-7-3
Hi,
I'm trying to make an UDP Receiver model on my Simulink Real Time Target. Here is the basic model to receive message with UDP Protocol that I build:
When I load this model to my real time target and run it, I get errors like this:
I didn't find any solution in other topics related to my problem. Is there any possible solution? Hpow can i fix it? Maybe the model I built up is incorrect, so you would consider them also.
Thanks to all.

回答(1 个)

Bhanu Prakash
Bhanu Prakash 2024-7-10
Hi Oktay,
To troubleshoot the error 'Error: EtherInit: Ether ID <ID>: Registration Error 2', you can try the following steps:
  • Ensure that the IP addresses for the Real-Time UDP Configuration block and the TCP/IP Target Address are distinct from each other and from any other IP addresses that are already in use.
  • It is recommended to place real-time UDP communication and target-host communication on different sub-networks to avoid interference.
  • If you want to send data to the host instead of another real-time device, then you can try using Legacy UDP blocks instead.
I hope this helps!

类别

Help CenterFile Exchange 中查找有关 Development Computer Setup 的更多信息

产品


版本

R2014b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by