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

2 vues (au cours des 30 derniers jours)
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 commentaires
Animesh
Animesh le 30 Juil 2024
Modifié(e) : Animesh le 30 Juil 2024
Hey @M Mathew,
Are you facing this problem on running the EXE file generated using simulink coder?
M Mathew
M Mathew le 30 Juil 2024
No, I'm running the model using Simulink Real-Time on Speedgoat.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Vehicle Network Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by