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?

Réponses (1)

Spruha
Spruha le 19 Juin 2025
Modifié(e) : Spruha le 20 Juin 2025

0 votes

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!

Catégories

Produits

Version

R2025a

Question posée :

le 17 Juin 2025

Modifié(e) :

le 20 Juin 2025

Community Treasure Hunt

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

Start Hunting!

Translated by