Reputation: 19
I am new to Python and want to send a CAN bus message through python. I have NI usb can adapter I am hoping will work. How can I get on the right track?
Upvotes: 1
Views: 2862
Reputation: 11
CAN msgs are usually sent from the system path, for you to generate CAN msg in python script
Use the following format
import os
os.system(cansend 123#112233)
You can define your logics in with this basic syntax
Upvotes: 1