xPC Target : How can I use second Ethernet card on my target computer ?

3 Ansichten (letzte 30 Tage)
Omer Cakmak
Omer Cakmak am 15 Apr. 2021
Bearbeitet: mojtaba gheibi am 5 Jun. 2021
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.

Antworten (1)

mojtaba gheibi
mojtaba gheibi am 5 Jun. 2021
Bearbeitet: mojtaba gheibi am 5 Jun. 2021
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.

Produkte


Version

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by