Unable to query hardware information for the selected CAN channel object.

15 views (last 30 days)
Unable to query hardware information for the selected CAN channel object. The model contains no CAN configuration block for the device Vector VN1610 1 (Channel 1). Please use the 'CAN Configuration' block from the Vehicle Network Toolbox block library to configure Vector VN1610 1 (Channel 1).
I am pretty sure that I have the CAN configuration blocks for both channels. have you seen this before? I have seen the same problem posted by someone else in 2015 but it does not have any answers. Thank you.

Answers (2)

Arthur Preuss
Arthur Preuss on 24 Jan 2019
So, after trying some things it worked out.
I had the error:
Unable to query hardware information for the selected CAN channel object. The model contains no CAN configuration block for the device Vector VN1630A 1 (Channel 1). Please use the 'CAN Configuration' block from the Vehicle Network Toolbox block library to configure Vector VN1630A 1 (Channel 1).
I deleted then the CAN Configuration and CAN Transmit and CAN Receive Blocks, added a CAN Transmit with the desired channel and then a window popped up. This window Said:
You have successfully set the parameters for the 'CAN Transmit' block.
This block requires a 'CAN Configuration' block to configure the hardware properties.
Woud you like to add a 'CAN Configuration' block from the Vehicle Network Toolbox block library at this time?
Then I clicked Yes and it finally worked

Amish Chavda
Amish Chavda on 16 Nov 2020
I am getting same error. There is a CAN congig block.HOwever i still get the below error.
Any solution?
Unable to query hardware information for the selected CAN channel object. The model contains no CAN configuration block for the device Vector Virtual 1 (Channel 1). Please use the 'CAN Configuration' block from the Vehicle Network Toolbox block library to configure Vector Virtual 1 (Channel 1).

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!