CANbus loading

This forum covers issues concerning multiple software products.

CANbus loading

Postby PhilR » Wed 22. May 2019, 15:59

What is the best way to determine how much of the bus's capacity is being used? I have some Peak CANbus-USB adapters, and the latest copy of PCANview for Windows.

One way I thought of was to take a bus trace, create a .csv file out of the .trc file, then get excel to work out the bus time taken by each packet and the bus idle time between packets. However this rather depends on having the start time of each packet recorded to finer accuracy than 0,1ms and it still ignores bit stuffing. When I display the trace buffer in PCANview it shows me packet start times to an accuracy of 1 microsec but the saved trace file either truncates or rounds that time.

Is there a better way?
PhilR
 
Posts: 2
Joined: Wed 22. May 2019, 15:16

Re: CANbus loading

Postby M.Maidhof » Wed 22. May 2019, 16:23

Hi,

when using PCAN-View with a FD PCAN hardware, there will be a busload option available. If you don't have a FD PC CAN hardware, the optional available PCAN-Explorer tool can also show you the busload using any PCAN PC hardware. All busload measurements in PCAN-View and PCAN-Explorer also includes the stuff bits.

best regards

Michael
M.Maidhof
Support
Support
 
Posts: 1166
Joined: Wed 22. Sep 2010, 13:00
Location: Darmstadt, Germany

Re: CANbus loading

Postby PhilR » Wed 22. May 2019, 16:42

Thank you kindly. I'll try it
PhilR
 
Posts: 2
Joined: Wed 22. May 2019, 15:16


Return to Software



This website uses cookies for analytics, for logins to the online shop and the forum, and for the handling of an order. By browsing this website you agree to the use of cookies. Detailed information on their use can be found in our privacy policy.

OKPrivacy Policy