How to create a data received event?
17 views (last 30 days)
Show older comments
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
Anand Muraleedharan Geetha
on 2 Feb 2020
Is this issue solved? If so, could you please tell the steps you followed?
Domenico Junior Alessi
on 21 Feb 2022
I need the solution to this issue too, can you please share it?
Answers (1)
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

0 Comments
See Also
Categories
Find more on AUTOSAR Blockset in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!