Why do I get the error 'Failure to load the device plug-in' when connecting to a CAN device?
14 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2018-1-24
编辑: MathWorks Support Team
2024-11-2
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{:});
采纳的回答
MathWorks Support Team
2024-11-2
编辑:MathWorks Support Team
2024-11-2
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Vehicle Network Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!