Why do I get the error 'Failure to load the device plug-in' when connecting to a CAN device?
4 views (last 30 days)
Show older comments
MathWorks Support Team
on 24 Jan 2018
Edited: MathWorks Support Team
on 2 Nov 2024
In MATLAB R2017b, I am trying to construct a CAN channel connected to my Vector VN1610 device, either using the command
canChannel('Vector','VN1610',1)
or through Vehicle CAN Bus Monitor. However, I receive the following error message:
Error using asyncioimpl.Channel
Failure to load the device plug-in.
Error in asyncio.Channel (line 104)
obj.ChannelImpl = asyncioimpl.Channel(devicePluginPath,...
Error in can.vector.Channel (line 213)
obj.AsyncioChannel = asyncio.Channel(devicePath, converterPath, asyncioOptions, [Inf, 0]);
Error in canChannel (line 71)
channel = can.vector.Channel(varargin{:});
Accepted Answer
MathWorks Support Team
on 2 Nov 2024
Edited: MathWorks Support Team
on 2 Nov 2024
The reason for this error message might be an outdated vendor device driver.
Download the Vector drivers as described in the following article:
In the Vector driver setup, make sure you select to upgrade the drivers for your particular device family.
0 Comments
More Answers (0)
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!