How to read multiple parameters via XCP?

6 次查看(过去 30 天)
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?

回答(1 个)

Spruha
Spruha 2025-6-19
编辑:Spruha 2025-6-20
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!

产品


版本

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by