Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple CAN Obljects on same Interface

I am just starting to use LabView to do some CAN simulations of our system.  We have a system that contains a single CAN bus with 6 nodes on the bus.  There is a single "master" node that receives status messages and provides commands to the other 5 nodes.  The 5 nodes are identical except for their address, which is used in the arbitration ID.
 
I am attempting to create a simulation of a single slave node at the moment and slowly making progress.  Eventually I want to simulate all 5 of those nodes at the same time on the same CAN bus.  I'm using a single USB-8473 CAN adapter to connect to the "master" node.  Will each of these nodes need to share a single CAN Object designator, or can they have individual ones?  Does anyone have any helpful hints on how to go about this?
 
Thanks.
0 Kudos
Message 1 of 3
(4,838 Views)

If your devices have their own node ID, which adds to the ID they are sending, then you could simulate all of them with your CAN device. Thats possible because they use different IDs in any case. I would recommend to use the Network Interface Object only , because it allows you to write and read any ID. You would need to program a mechanism which adds the specific device ID (Node ID) to the abitration id and then use a write or write mult to transmit them. For the receive you need to know which arbitration id is comming to calculate the device ID (node ID). Hope that helps.

DirkW

0 Kudos
Message 2 of 3
(4,819 Views)
Thanks. 
 
That is essentially what I was doing after messing around trying different things.  I didn't know if that was the best option or if there was something simpler.
 
Thanks for the help.
0 Kudos
Message 3 of 3
(4,813 Views)