Hello,
how can I check CAN connection "health" using PCAN API. I'd like to check how many error frames was received in last 1-2 seconds. Is there ready methods for this or I have to make my own statistics based on TPCANStatus returned by PCANBasic.Read() function?
CAN Statistics
Re: CAN Statistics
Hi,
since PCANBasic.dll 4.2 you will also receive errorframes, so you can count them in your application, to get the "health" status of the connected CAN bus system. See PCANBasic help for more details.
regards
Michael
since PCANBasic.dll 4.2 you will also receive errorframes, so you can count them in your application, to get the "health" status of the connected CAN bus system. See PCANBasic help for more details.
regards
Michael
Re: CAN Statistics
Thanks for you fast response. I'll write my own counter of error frames as you suggest.