UDP Receive Binary problem

1 vue (au cours des 30 derniers jours)
Reurison
Reurison le 12 Mar 2017
Commenté : Manish M le 27 Juin 2019
Hi guys,
I'm building a simulink application using UDP Receive Binary and UDP Send Binary blocks from Simulink Real Time (Matlab2015a). I'm trying to test a communication using a ethernet cable between simulink and my Beaglebone where I built a UDP server socket (IP : 10.10.10.99 / 51001). I'm able to send data to the Beaglebone but I'm unable to receive data from Beaglebone. I tried to open the wireshark to see what's going on and the data it is been sent to the my computer (IP : 10.10.10.1) but the UDP Receive binary block shows nothing.
On the UDP Send binary block, these are the configurations :
Destination IP address : 10.10.10.99 (Beaglebone's IP address)
Destination Port : 51001
Local (source) Port : 50000
Sample time : 0.01
On the UDP Receive Binary :
Source IP address : 10.10.10.99
Local (destination) port : 50000
Output port Width : 24
Sample time : 0.01
Can someone explain me why I can not recover the data using the UDP Receive Binary block?
Thank you.
  1 commentaire
Manish M
Manish M le 27 Juin 2019
Can you please attach your model here, so that it is easier to help?

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by