05-29-2015 03:34 AM
Hello,
I am developing an application that needs to communicate a simulink model running on a RaspberryPi with a LabVIEW program executed in a PC.
I managed to send data from the LabVIEW to Simulink, but I am not beeing able to make it run the other way.
I have done a simple Simulink model and LabVIEW program to check the communications and is it working if I run both in the PC. However if I run the Simulink model in the Raspberry there is no communication.
Any idea which can be the problem?
Thank you,
Mikel
02-09-2016 08:29 AM
Hello,
did you find any solution for your problem? I'm also interested in this topic.
Best regards
02-09-2016 09:11 AM
@MikelZubi wrote:Hello,
I am developing an application that needs to communicate a simulink model running on a RaspberryPi with a LabVIEW program executed in a PC.
I managed to send data from the LabVIEW to Simulink, but I am not beeing able to make it run the other way.
I have done a simple Simulink model and LabVIEW program to check the communications and is it working if I run both in the PC. However if I run the Simulink model in the Raspberry there is no communication.
Any idea which can be the problem?
Thank you,
Mikel
My first guess would be firewall settings. Also you could try to specify the IP address of your computer rather then broadcasting. For UDP you also have to consider the network configuration ... if there are too many "hops" (network nodes) a package has to cross it will eventually stop (to avoid spamming of looping signals).
If it is safe to do so, try disabling the firewall or at least opening port 7013 for UDP transfer and see if you get a sign of life of your RasPi.
Best Regards
Mathis