Vehicle Networking Toolbox setup
I have the Vehicle Networking toolbox for MATLAB and I am trying to make it recognize a Vector CANcaseXL. I have installed the necessary drivers for the CANcaseXL. However, I cannot establish an open channel between the toolbox and the CANcase. Here is the warning message that I received in the Matlab Command window:
>> info = canHWInfo
CAN Devices Detected:
Kvaser Devices:
Virtual 1 Channel 1
To connect, use – canChannel(‘Kvaser’, ‘Virtual 1’, 1)
Virtual 1 Channel 2
To connect, use – canChannel(‘Kvaser’, ‘Virtual 1’, 2)
Use GET on the output of CANHWINFO for more information.
>> canch1 = canChannel(‘Vector’,’CANcaseXL 1′,1)
Warning: The following error was caught while executing ‘can.vector.Channel’ class destructor:
Invalid MEX-file ‘C:Program
FilesMATLABR2010bSP1toolboxvntvntmexVectorXLDriverLibrary.mexw32′: The specified
module could not be found.
I checked the C:Program FilesMATLABR2010bSP1toolboxvntvnt directory and found the right file (mexVectorXLDriverLibrary.mexw32) that needs to be there. If everything was working properly this is what I would see:
>> info = canHWInfo
CAN Devices Detected:
Vector Devices:
CANcaseXL 1 Channel 1 (SN: 24365)
To connect, use – canChannel(‘Vector’, ‘CANcaseXL 1’, 1)
CANcaseXL 1 Channel 2 (SN: 24365)
To connect, use – canChannel(‘Vector’, ‘CANcaseXL 1’, 2)
Virtual 1 Channel 1
To connect, use – canChannel(‘Vector’, ‘Virtual 1’, 1)
Virtual 1 Channel 2
To connect, use – canChannel(‘Vector’, ‘Virtual 1’, 2)
Kvaser Devices:
Virtual 1 Channel 1
To connect, use – canChannel(‘Kvaser’, ‘Virtual 1’, 1)
Virtual 1 Channel 2
To connect, use – canChannel(‘Kvaser’, ‘Virtual 1’, 2)
Use GET on the output of CANHWINFO for more information.
I called Matlab technical support and they said that this is a Vector driver setup issue. Then I called Vector and they said it was a Matlab issue, help!I have the Vehicle Networking toolbox for MATLAB and I am trying to make it recognize a Vector CANcaseXL. I have installed the necessary drivers for the CANcaseXL. However, I cannot establish an open channel between the toolbox and the CANcase. Here is the warning message that I received in the Matlab Command window:
>> info = canHWInfo
CAN Devices Detected:
Kvaser Devices:
Virtual 1 Channel 1
To connect, use – canChannel(‘Kvaser’, ‘Virtual 1’, 1)
Virtual 1 Channel 2
To connect, use – canChannel(‘Kvaser’, ‘Virtual 1’, 2)
Use GET on the output of CANHWINFO for more information.
>> canch1 = canChannel(‘Vector’,’CANcaseXL 1′,1)
Warning: The following error was caught while executing ‘can.vector.Channel’ class destructor:
Invalid MEX-file ‘C:Program
FilesMATLABR2010bSP1toolboxvntvntmexVectorXLDriverLibrary.mexw32′: The specified
module could not be found.
I checked the C:Program FilesMATLABR2010bSP1toolboxvntvnt directory and found the right file (mexVectorXLDriverLibrary.mexw32) that needs to be there. If everything was working properly this is what I would see:
>> info = canHWInfo
CAN Devices Detected:
Vector Devices:
CANcaseXL 1 Channel 1 (SN: 24365)
To connect, use – canChannel(‘Vector’, ‘CANcaseXL 1’, 1)
CANcaseXL 1 Channel 2 (SN: 24365)
To connect, use – canChannel(‘Vector’, ‘CANcaseXL 1’, 2)
Virtual 1 Channel 1
To connect, use – canChannel(‘Vector’, ‘Virtual 1’, 1)
Virtual 1 Channel 2
To connect, use – canChannel(‘Vector’, ‘Virtual 1’, 2)
Kvaser Devices:
Virtual 1 Channel 1
To connect, use – canChannel(‘Kvaser’, ‘Virtual 1’, 1)
Virtual 1 Channel 2
To connect, use – canChannel(‘Kvaser’, ‘Virtual 1’, 2)
Use GET on the output of CANHWINFO for more information.
I called Matlab technical support and they said that this is a Vector driver setup issue. Then I called Vector and they said it was a Matlab issue, help! I have the Vehicle Networking toolbox for MATLAB and I am trying to make it recognize a Vector CANcaseXL. I have installed the necessary drivers for the CANcaseXL. However, I cannot establish an open channel between the toolbox and the CANcase. Here is the warning message that I received in the Matlab Command window:
>> info = canHWInfo
CAN Devices Detected:
Kvaser Devices:
Virtual 1 Channel 1
To connect, use – canChannel(‘Kvaser’, ‘Virtual 1’, 1)
Virtual 1 Channel 2
To connect, use – canChannel(‘Kvaser’, ‘Virtual 1’, 2)
Use GET on the output of CANHWINFO for more information.
>> canch1 = canChannel(‘Vector’,’CANcaseXL 1′,1)
Warning: The following error was caught while executing ‘can.vector.Channel’ class destructor:
Invalid MEX-file ‘C:Program
FilesMATLABR2010bSP1toolboxvntvntmexVectorXLDriverLibrary.mexw32′: The specified
module could not be found.
I checked the C:Program FilesMATLABR2010bSP1toolboxvntvnt directory and found the right file (mexVectorXLDriverLibrary.mexw32) that needs to be there. If everything was working properly this is what I would see:
>> info = canHWInfo
CAN Devices Detected:
Vector Devices:
CANcaseXL 1 Channel 1 (SN: 24365)
To connect, use – canChannel(‘Vector’, ‘CANcaseXL 1’, 1)
CANcaseXL 1 Channel 2 (SN: 24365)
To connect, use – canChannel(‘Vector’, ‘CANcaseXL 1’, 2)
Virtual 1 Channel 1
To connect, use – canChannel(‘Vector’, ‘Virtual 1’, 1)
Virtual 1 Channel 2
To connect, use – canChannel(‘Vector’, ‘Virtual 1’, 2)
Kvaser Devices:
Virtual 1 Channel 1
To connect, use – canChannel(‘Kvaser’, ‘Virtual 1’, 1)
Virtual 1 Channel 2
To connect, use – canChannel(‘Kvaser’, ‘Virtual 1’, 2)
Use GET on the output of CANHWINFO for more information.
I called Matlab technical support and they said that this is a Vector driver setup issue. Then I called Vector and they said it was a Matlab issue, help! mex, vehicle network toolbox, can, usb MATLAB Answers — New Questions