Real-Time UDP receive for xPC target 5.1

조회 수: 5 (최근 30일)
saniyar
saniyar 2014년 8월 7일
답변: Xikai 2014년 12월 7일
Hello, I am using xPC 5.1 with Matlab 2011b on host PC. I built a simple model to receive the UDP packets from the specific IP address, but the receive block can't receive any message from source. The xPC, host PC and UDP source are in a same subnet network. I checked the received packets via Wireshark in host PC, I received the UDP packets from the source IP but I can't recive in xPC. By the way I have only one network card and I am using a switcher between xPC, host and UDP source.
You can find the Wireshark and Simulink model pictures in below. Thanks in advance.

답변 (2개)

Xikai
Xikai 2014년 12월 7일
I met with the same problem. By use of Wireshark, I found the udp receiving Port number automatically changed to another port number (for example port number:10000) not the desired port in the xPC target environment. Good luck!

Xikai
Xikai 2014년 12월 7일
I met with the same problem. By use of Wireshark, I found the udp receiving Port number automatically changed to another port number (for example port number:10000) not the desired port in the xPC target environment. Good luck!

카테고리

Help CenterFile Exchange에서 Development Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by