Driver for Python application for naming the bus

This forum covers issues concerning multiple software products.
Post Reply
MikeK
Posts: 2
Joined: Wed 12. Mar 2025, 10:37

Driver for Python application for naming the bus

Post by MikeK » Wed 12. Mar 2025, 13:53

Hello, I use PCAN Explorer 5 and a USB to CAN adapter from PEAK System. I have a Python application that opens a CAN bus and sends and receives certain CAN messages. I use the Python package “can”.
My problem is that I have no possibility to change the net name/bus name. The generated bus is called PCANLight_USB_16. Is there a driver/package that allows me to change the bus name?


Image


Many thanks in advance and best regards
Mike

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: Driver for Python application for naming the bus

Post by M.Maidhof » Wed 12. Mar 2025, 14:22

Hello Mike,

yes, when using the PCANBasic API with your application, the network name is fixed to PCANLight_USB_XX. But you can connect PCAN-Explorer to that network, after your application was started. This is a restriction of the free available PCANBasic API. With the optional available PCAN-Developer API, you can use and generate different network names.

regards

Michael

MikeK
Posts: 2
Joined: Wed 12. Mar 2025, 10:37

Re: Driver for Python application for naming the bus

Post by MikeK » Thu 13. Mar 2025, 06:49

Hi Michael,

thank you very much for the quick reply and help.

Regards
Mike

Post Reply