Open balumbo opened 3 years ago
Channel 32 seems to just not exist in our library. You can see the available ones here. I don't know PEAK too well, but generally the channels depend on the hardware that you connected.
@balumbo : It looks like you are using the pcan adapter on linux os. Is this correct? Normally when i use the pcan adapter with linux i am using the socketcan driver provided by peak and integrated in the kernel. With this you can use the socketcan
backend of python-can
Maybe you can try to list the interface with ip link
and check if there is an interface named can0
or something similar
I am trying to use the script can.logger with the PCAN-USB from peak-system. But it does not work unfortunately. When I use the receivetest from Peak-system everything is running. receivetest -f=/dev/pcanusb32 -b=0x852b -n=500.
When I call the can.logger script with python -m can.viewer -b 83333 -c "/dev/pcanusb32" -i pcan the following message pop up
When I use python -m can.logger -f /home/balumbo/canlog.txt -c PCAN_USBBUS1 -i pcan -b 83333 The logger started but with no entries in the log file.
The same issue obtain with the can.viewer script. Which channel has to be used?