
xPC Target : How can I use second Ethernet card on my target computer ?
4 ビュー (過去 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!