Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN write/read program

I need help making a program that programmatically writes and reads the CAN bus in sequence. I need to write frames to the bus then read the bus sequencially and also multiple times. I keep getting errors in the write.vi. The error is BFF62125. I need to write a message, receive the response, and write another message and receive the response. Also I need the program to execute so that when I run it automatically performs all the tasks in order then ends.
0 Kudos
Message 1 of 2
(3,297 Views)

Hi Phil:

Here is some example code from the NI website that should get you on your way.

CAN Send and Receive using NI-CAN Frames

Regards,

Emilie S.

0 Kudos
Message 2 of 2
(3,272 Views)