Error evaluating 'InitFcn' callback of create Ethernet block

조회 수: 3 (최근 30일)
avinash3010
avinash3010 2012년 6월 1일
댓글: Cádmo Rodrigues 2018년 8월 31일
Hi all
I am working on xPC target simulation. I would like to send data from target to a PC using the Ethernet card. I have used the Ethernet initialization block and have specified all the parameters including MAC address. I am trying to create Ethernet packet using 'create Ethernet packet' block and transmit it through the 'Ethernet Transmit' block.
When I try to run the model, i'm getting the following errors. 1. Error evaluating 'InitFcn' callback of xpcnbcompose block 2. A Network Buffer Management block is required. 3. Error evaluating 'InitFcn' callback of xpcetherinit block 4. A Network Buffer Management block is required.
Please help me with this.
Thank you.
  댓글 수: 1
Balasubramanian Srikanthan
Balasubramanian Srikanthan 2017년 5월 24일
편집: Balasubramanian Srikanthan 2017년 5월 25일
I'm facing the exact same problem. It would really be helpful if you could post the solution that you figured out.

댓글을 달려면 로그인하십시오.

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2012년 6월 6일
I don't know anything about using the xPC Ethernet blocks, but the error message seems to say that you need to add a Network Buffer Management block from the xPC Target Ethernet Block Library. Did that not help?
  댓글 수: 2
avinash3010
avinash3010 2012년 6월 6일
Thank you very much for the answer... i have already figured it out and the problem is solved.
Cádmo Rodrigues
Cádmo Rodrigues 2018년 8월 31일
Hi, avinash3010!
Can you share with us the solution? Thanks!

댓글을 달려면 로그인하십시오.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by