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 Kommentare

Is this issue solved? If so, could you please tell the steps you followed?
Domenico Junior Alessi
Domenico Junior Alessi am 21 Feb. 2022
I need the solution to this issue too, can you please share it?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Ben
Ben am 21 Okt. 2024
Bearbeitet: Ben am 21 Okt. 2024

0 Stimmen

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

Kategorien

Produkte

Gefragt:

am 6 Jan. 2020

Bearbeitet:

Ben
am 21 Okt. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by