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 个评论
Anand Muraleedharan Geetha
2020-2-2
Is this issue solved? If so, could you please tell the steps you followed?
Domenico Junior Alessi
2022-2-21
I need the solution to this issue too, can you please share it?
回答(1 个)
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

类别
在 帮助中心 和 File Exchange 中查找有关 AUTOSAR Blockset 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!