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 Commenti

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?

Accedi per commentare.

Risposte (1)

Ben
Ben il 21 Ott 2024
Modificato: Ben il 21 Ott 2024

0 voti

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

Prodotti

Richiesto:

il 6 Gen 2020

Modificato:

Ben
il 21 Ott 2024

Community Treasure Hunt

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

Start Hunting!

Translated by