Questions tagged [python-can]

The can package provides controller area network support for Python developers; providing common abstractions to different hardware devices, and a suite of utilities for sending and receiving messages on a can bus.

References:

77 questions
0
votes
1 answer

How to send and receive a file in SocketCAN or Python-can?

I want to send a text file from one serial device(slcan0) to another serial device(slcan1) can this operation be performed in SocketCAN? The serial CAN device I am using is CANtact toolkit. Or can the same operation be done in Python-can?
annonymous
  • 131
  • 3
  • 14
0
votes
2 answers

Why can I only initialize specific PCAN Channel once?

Using python-can library here. Here's a simple code to print out can messages: from can.interface import Bus bus = Bus(bustype='pcan', channel='PCAN_USBBUS1', bitrate=500000) for msg in bus: print(msg) It runs just fine until I stop the…
miyesven
  • 13
  • 6
1 2 3 4 5
6