How to create a data received event?

I create a trigger interface ,a trigger receiver port and a runnable in AUTOSAR dictionary.But when I choose DataReceivedEvent,it warning like this:
What should I do?Better give me a example.Thank you.

2 Comments

Is this issue solved? If so, could you please tell the steps you followed?
I need the solution to this issue too, can you please share it?

Sign in to comment.

Answers (1)

Ben
Ben on 21 Oct 2024
Edited: Ben on 21 Oct 2024
Hi
You can refer belowlink
or Simple model
  • Inport with Output Function call Sample time : -1
  • Trigger Port in Function call subsystem , Trigger Type : function-call, Sample time Type : triggered
  • Event for runnable in AUTOSAR Dictionary
Event Type : DataReceivedEvent
Event Name : e.g. DRE_SWC
Trigger : Data Port e.g. RP_IF.DE1
sample model and code generatio result
function call subsystem trigger port
Inport for output function call
Inport for output function call
Autosar Dictionary

Categories

Products

Asked:

on 6 Jan 2020

Edited:

Ben
on 21 Oct 2024

Community Treasure Hunt

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

Start Hunting!