Access to CAN-Bus

John Schroeder jschroed at gmail.com
Mon Jun 9 03:27:16 EDT 2008


Isn't a CAN bus accessed via the COM ports (serial or parallel)?  If this is
the case, then you should use pySerial and/or pyParallel but you would have
to define the protocol yourself.  (I've used pyserial to implement a LAPB
protocol.)

On Mon, Jun 9, 2008 at 12:15 AM, Diez B. Roggisch <deets at nospam.web.de>
wrote:

> 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?
>>
>
> I've never heard of a OS-level CAN-bus-integration. So I doubt that there
> is any vendor-independent way.
>
> Doesn't your CAN-bus-interface have some library or driver support?
>
> Diez
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080609/d3afb697/attachment-0001.html>


More information about the Python-list mailing list