- Name the signal feeding the Display.
- In Embedded Coder - Code Mappings, mark that signal as Export and set DisplayIdentifier (this becomes the A2L name).
- Regenerate the A2L using Generate Calibration Files
XCP naming for measurements
35 次查看(过去 30 天)
显示 更早的评论
Hi,
I'm developing a small embedded application running on a Xilnx Zynq. I'm trying to communicate with it via XCP. As far as I understood when I generate the A2L file from the matlab generated executable for "CHARACTERISTIC" the name used contains the name of the block it refers to: if I consider a constant block its "name" in the generated A2L contains the name of the block so "constant1, constant2, .." or what I specified if I did. That's fine.
Now I need to access also to "MEASUREMENT": I have an output going to a "display" block and I would like to read it via XCP. I'm not able to understand how its associated name is built in the A2L database. I tried to change the name of the "display" block or to assign a label to the wire coming in to my "display" block but I'm not able to find any reference of the name I used in the generated A2L file.
thanks for the support
Michele
0 个评论
回答(1 个)
Satyam
2025-11-18,4:38
A2L MEASUREMENT entries come from signals/ports/states you mark for export, not from visualization blocks like Display/Scope. So renaming the Display block won’t change the A2L. You need to configure the signal that feeds the Display (or an Outport, Inport, Data Store, State) as a MEASUREMENT for A2L export.To control the name:
I hope it resolves your query.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!