How to read multiple parameters via XCP?

Hello Community,
I am developing a App Designer app for XCP commuication. I need a function which reads all parameters which are defined in the A2L (or separate list) at one. Because "value = readCharacteristic(chanObj,characteristic)" reads only one value. A loop with this function is very slow. Anybody an idea ? Or @Mathworks would you enhance this function?

Respuestas (1)

Spruha
Spruha el 19 de Jun. de 2025
Editada: Spruha el 20 de Jun. de 2025

0 votos

Hello Walter,
I understand that you intend to read all the parameter which are defined in A2L list at once. You can first import the A2L file and then utilize a dynamic DAQ list to efficiently read multiple items simultaneously, rather than accessing them individually.
You may refer to this documentation to know about A2L files:
Please refer to this documentation for information on how to read XCP measurements with dynamic DAQ lists:
Hope this helps!

Categorías

Productos

Versión

R2025a

Preguntada:

el 17 de Jun. de 2025

Editada:

el 20 de Jun. de 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by