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!