Is the Kvaser Leaf Light HS supported by both Vehicle Network Toolbox and Real Time Windows Target?
4 views (last 30 days)
Show older comments
Hello,
I would like to know if it is possible to use Vehicle Network Toolbox with a Kvaser Leaf Light HS for sending/receiving CAN messages to/from CAN bus using Simulink with Real Time Windows Target in External mode.
So far I know Kvaser Leaf Light HS works with the Vehicle Network toolbox for sending and receiving messages. And also that it works in real-time using Simulink and Real Time Windows Target in Normal mode.
What I would like to know is, if it is possible to build a C code from Simulink schema that would work in External mode. (So that the Simulink schema would run faster and won't miss ticks.) And what toolboxes I need. I think I need Vehicle Toolbox, Real Time Windows Target and Simulink Coder. Is that correct?
Also I would like to know which versions of Matlab/Simulink (or the toolboxes) provides this functionality.
And additionally, if I would need any other software drivers except for Kvaser drivers that can be downloaded from Kvaser website.
Thank you very much.
Kamil
0 Comments
Accepted Answer
Jan Houska
on 2 Apr 2015
Unfortunately, neither Kvaser Leaf Light nor any other Kvaser CAN product is supported by Real-Time Windows Target in External Mode. External Mode requires native Real-Time Windows Target driver and, currently, native driver is only available for Vector CAN devices.
However, you should be able to use Vehicle Network Toolbox blocks together with Real-Time Windows Target in Normal or Accelerator mode.
More Answers (1)
ismail
on 1 Mar 2016
What is necessary to write a native driver for PEAK-Systems' PCIe-CAN Boards to use with external mode. There are several drivers for many OS. Is there any easy way to entegrate it ?
0 Comments
See Also
Categories
Find more on Vehicle Network Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!