LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulation of CAN bus on NI CAN

Solved!
Go to solution

Hi, I need to simulate the working of CAN bus where i transmit a message over the CAN bus and also receive it. I don't have any hardware and I've read on some other forums that messages can be transmitted and received over a virtual CAN with the help of NI-CAN. I tried the virtual CAN device simulator example but i get the error attached below. I'm new to Labview. Any help will be appreciated

0 Kudos
Message 1 of 4
(2,074 Views)

This question is best to be posted on Automotive and Embedded Networks board.

What is the error you are seeing? You didn't attach anything.

-------------------------------------------------------
Control Lead | Intelline Inc
Message 2 of 4
(2,041 Views)

Thank you for the reply. I will post it on the forum you have mentioned. Sorry the file was not attached. Let me attach it again.

Screenshot (79).png

0 Kudos
Message 3 of 4
(2,032 Views)
Solution
Accepted by AbdullahWasif

This example is meant to be used with actual CAN hardware and CAN Demo Box.

To use the simulated CAN interface, you specify the virtual interface CAN256 and CAN257. See Frame to Channel Conversion - NI-CAN Documentation

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 4 of 4
(2,019 Views)