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?

Antworten (1)

Spruha
Spruha am 19 Jun. 2025
Bearbeitet: Spruha am 20 Jun. 2025

0 Stimmen

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!

Kategorien

Produkte

Version

R2025a

Gefragt:

am 17 Jun. 2025

Bearbeitet:

am 20 Jun. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by