Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulating multiple nodes on CAN bus in Labview.

For my engine application we have an Engine Control Unit, Transmission Control Unit, ABS Controller and various Smart Sensors on the CAN network.  We are evaluating using CANoe to simulate each node on the CAN network.  We already have NI Test Stand, Labview and an NI-CAN card.

I know that CANoe has the capability to simulate various nodes on the CAN network.  I am not sure however if Labview/Test Stand has this capability.

Has anyone used Labview and/or Test Stand to simulate a CAN network with various nodes present?  If so, could you provide some guidance or examples I could reference?

For background purposes, I have used NI-Channel and NI-Frame for testing one message at a time, but I don't have any experience testing multiple messages or nodes within Labview.

Thank you for your assistance.

0 Kudos
Message 1 of 5
(9,174 Views)

Buff,

 

In your environment are you using any NI-CAN hardware or software or would this be purely simulated? Anecdotally, I have found a few other users post forums about programming with CANoe in TestStand. You may want to do some more forum searching to see what other users had issues with.

 

Regards,

 

Steven Zittrower

Applications Engineer

National Instruments

http://www.ni.com/support

0 Kudos
Message 2 of 5
(9,146 Views)
Yes, we have a NI-CAN card.
0 Kudos
Message 3 of 5
(9,144 Views)

Try checking out this forum posts about simulating CAN ports.

http://forums.ni.com/ni/board/message?board.id=30&message.id=2011&requireLogin=False

 

Regards,

 

Steven Zittrower

Applications Engineer

National Instruments

http://www.ni.com/support

0 Kudos
Message 4 of 5
(9,142 Views)

We use CAN for off road (J1939) all the time.  We often simulate the messaging of several controllers.  What ever you put on the CAN bus is on the bus.  What I mean by that is if a message is to be sent by the transmission, and a different one is to be sent by the engine controller, you can just send the two messages and they will be on the bus as though they were sent by two different controllers.  With J1939, you set who the message is from by setting the Source Address.  In this example, you would have two separate source addresses, but really it will be sent from the same CAN node (the tester).  Just like in the real system, whatever is on the CAN bus is on the CAN bus.

 

I am sorry that I don't know much about CANoe or I would modify my example to be even more specific to your question.

 

Hope that this helps,

Bob Young

 

0 Kudos
Message 5 of 5
(9,127 Views)