Re: Poor PCAN Peak performance
Posted: Wed 15. Nov 2023, 10:52
Hi Keneth,
I have investigated the issue further, and I created two scripts that simulate the receive functionality of the uC board; I'll email them to "support@peak-system.com". One of them is using the "python-can" module, and the other is using directly the "PCANBasic.py" api. Surprisingly enough, using the "python-can" library the communication speed seems to be very limited, but with a modified example from your python api the performance looks a lot better; although it's in polling mode with no timeout and uses quite a lot of cpu. I'll have all the files and more details in the email.
Thanks,
Riccardo
I have investigated the issue further, and I created two scripts that simulate the receive functionality of the uC board; I'll email them to "support@peak-system.com". One of them is using the "python-can" module, and the other is using directly the "PCANBasic.py" api. Surprisingly enough, using the "python-can" library the communication speed seems to be very limited, but with a modified example from your python api the performance looks a lot better; although it's in polling mode with no timeout and uses quite a lot of cpu. I'll have all the files and more details in the email.
Thanks,
Riccardo