- 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 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Satyam
am 18 Nov. 2025 um 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.
Siehe auch
Kategorien
Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!