Page 1 of 1

channel2 got ESI while MATLAB set up channel1

Posted: Mon 17. Dec 2018, 07:03
by agorgeousday
Hi Sir,

I am using PCAN-USB Pro FD(2 x CAN FD) to develop MATLAB application.I am wondering why channel2 received CAN packets normally until MATLAB set up channel1 with command

Code: Select all

canChannel('PEAK-System', 'PCAN_USBBUS1', 'ProtocolMode', 'CAN FD');
Does it mean when channel1 reset, and channel2 set up also ?

Error message please check the figure
[img]2018-12-17_135533.png[/img]

Re: channel2 got ESI while MATLAB set up channel1

Posted: Mon 17. Dec 2018, 09:31
by PEAK-Support
We do not know how MathWorks have implemented the function, but when they using 1:1 our API, you could init and work with every CAN Channel completely independent. Maybe you better contact the developer of the MathLab Intergration (MathWorks)