Page 1 of 1

Python with CANBÚS

Posted: 13 Sep 2025, 22:55
by musti_0107
Hello, good day
I have a Revpi Connect 5 and two expansion modules: a MIO and a DIO.
I also have a servo controller connected to my Revpi Connect 5 via CANBUS.
Our programming language is Python, so I'm trying to establish CANBUS communication from Python, but without success.
I wrote a program with KI, but when I start the program in Revpi Commander, I get an error message saying "NOT RUNNING."
Unfortunately, I have no idea what's wrong or what settings I need to make to establish a CANBUS connection from Python.
What's important to me is that I can send and receive messages from Python; that's all I want.
I'm asking for support

Re: Python with CANBÚS

Posted: 15 Sep 2025, 07:18
by crismancich
Hi Musti,

my approach would be to just work with the plain python file on the RevPi and run it via SSH.
Doe is work here without RevPi commander?

Re: Python with CANBÚS

Posted: 25 Sep 2025, 15:36
by Sami
It sounds like you could be experiencing an issue with either your Python script, or with deployment through RevPi Commander.

Try the script given in Step 6 of the Python Tutorial (https://revolutionpi.com/en/tutorial/python) - when the button is pressed, does the LED activate as expected? Does RevPi Commander still throw the same error?