Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to send 2 different messages over a CAN network (by the NICAN board)with different periods ?

Example: Message 1 (ID 001) every 10 ms and Message 2 (ID 002) every 20 ms at the same time ?
0 Kudos
Message 1 of 4
(4,673 Views)
Yes. It is totally possible to do this. Attached is an example that can be slightly modified. Simply add another set of VI's to open a second CAN object, write to it and close at the very end.

Randy Solomonson
Application Engineer
National Instruments
0 Kudos
Message 2 of 4
(4,673 Views)
1.I should add another set of CONFIG, OPEN andWrite to the second message ?
2.In the diagram I noticed that the Write Function doesn't keep running every loop. It runs only when the data message is different from the previous. Is it correct ?
0 Kudos
Message 3 of 4
(4,673 Views)
Was the reply the exact answer to your question or would you still like to get another example?
0 Kudos
Message 4 of 4
(4,673 Views)