Access to CAN-Bus

Stephan Diehl stephan at transvection.de
Mon Jun 9 09:34:41 CEST 2008


Thin Myrna schrieb:
> I'd like to access some drive hardware via CAN bus from Python under Linux
> (sending rec'ing PDOs). Googling around I couldn't find a Python package,
> but people who said that they are doing this, though. I guess they are
> using their home brewn software. 
> 
> Any pointer to 
> -  such software (anyone willing to share his experience?)
> -  how to write such software?
> 
> Under Windows, I guess, I could use some COM or ctypes functionality to
> access the hardware vendor's hardware. What if I wanted to access such
> hardware from Linux? Is there a package that allows that in a vendor (who
> doesn't support Linux) independent way?
> 
> Many thanks in advance
> Thin

We've done this once (sorry no open source). If I remember right, we've 
been using ctypes on windows to access the CAN card. If I had to do 
something like this again, I'd definatelly check out an USB CAN adapter 
which might be easier to handle (but one never knows).

Stephan



More information about the Python-list mailing list