Skip to content
Advertisement

Tag: can-bus

Close bus in python-can

I am using python-can to send CAN messages like this: The script works fine, but when I run it for a 2nd time, it results in an error, because the bus is still open from the previous time. I think I need something like this at the end of my script: However, this does not exist and I can’t seem

Split blf-files in Python into smaller files

I’m wondering if it is possible to split BLF-files in Python? I know that there is a library (can) that supports BLF-files, but find no documentation on how to split/save. I can read a BLF-file with: Would appreciate any help if anybody has knowledge in how I would split this file, and save it into smaller blf-files. Answer You can

Advertisement