slhostlibcantransmit.dll INITIALIZE Error when I try to connect to my ECU through XCP on CAN (using Vehicle Network Toolbox blocks)

4 visualizaciones (últimos 30 días)
I am trying to read an ECU variable using Vehicle Network Toolbox blocks on my simulink model. The a2l file is added in the XCP CAN Configuration block. The XCP CAN Data Acquisiton block is used for getting the measurement I want to read and the XCP CAN Transport Layer block is used for connecting to the XCP channel which is through a Kvaser device.
On running the model, I get the following error:
=== Diagnostics ===
Error:Error running 'HVS_Model_V01_CD6_TestPC' on target computer: Unable to load 'HVS_Model_V01_CD6_TestPC' on target computer 'TargetPC1': HVS_Model_V01_CD6_TestPC:INITIALIZE ERROR:Could not open library: slhostlibcantransmit.dll
Can anyone help me out?
  2 comentarios
Animesh
Animesh el 30 de Jul. de 2024
Editada: Animesh el 30 de Jul. de 2024
Hey @M Mathew,
Are you facing this problem on running the EXE file generated using simulink coder?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Vehicle Network Toolbox en Help Center y File Exchange.

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by