How to create a data received event?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I create a trigger interface ,a trigger receiver port and a runnable in AUTOSAR dictionary.But when I choose DataReceivedEvent,it warning like this:![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/259953/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/259953/image.png)
What should I do?Better give me a example.Thank you.
2 Commenti
Anand Muraleedharan Geetha
il 2 Feb 2020
Is this issue solved? If so, could you please tell the steps you followed?
Domenico Junior Alessi
il 21 Feb 2022
I need the solution to this issue too, can you please share it?
Risposte (1)
Ben
il 21 Ott 2024
Modificato: Ben
il 21 Ott 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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1796160/image.png)
function call subsystem trigger port
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1796180/image.png)
Inport for output function call
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1796165/image.png)
Inport for output function call
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1796170/image.png)
Autosar Dictionary
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1796175/image.png)
0 Commenti
Vedere anche
Categorie
Scopri di più su AUTOSAR Blockset in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!