xPC Target : How can I use second Ethernet card on my target computer ?
3 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
Firstly, let me introduce my tools:
Card: Advantech PCM 3356 PC-104 card.
Matlab Version: Matlab R2015b
According to the card spesification, there are two ethernet card on this target computer. One of them is already used for TCIP/IP connection by Matlab and the second was idle.I want to use the second card for UDP communication as well. For this purpose, firstly both LAN settings are enabled from bios and then, I used "Simulink Real Time UDP Configuration" block which belongs to Simulink Real Time library. In the dialog box, i choose bus-slot numbers as [1,0] and [2,0] but neither worked. As I can see, there is no related UDP configuration block in real time library. The interesting point was I have already used "Legacy UDP send/recieve blocks" in my model. It was used TCP/IP İp adress. But I need second ip adress. For the sake of clarification, I add the error I received and the blocks I used as images. Thank you.
Normally PC-104 work as follows:
When I used second card: (I used both 1-0 and 2-0 but neither worked)
Note: I cheked following page but I couldn't find answer for this question.
0 个评论
回答(1 个)
mojtaba gheibi
2021-6-5
编辑:mojtaba gheibi
2021-6-5
hi
for udp real-time or ethernet you must use NIC with espechial chipset from intel.
your pc-104 has only two Realtek chipset.
so you can't use the second ethernet of this pc-104 for udp real-time.
Best Regars.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Development Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!