bus load

This forum covers issues concerning multiple software products.
Post Reply
Tejaswi
Posts: 8
Joined: Wed 29. Jan 2025, 11:34

bus load

Post by Tejaswi » Tue 1. Apr 2025, 11:58

Hello,
can we find bus load through basic Api?

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: bus load

Post by M.Maidhof » Tue 1. Apr 2025, 15:27

Hello,

no, this feature is only available with the API of the PCAN-Developer API when using a CAN FD hardware.

regards

Michael

Tejaswi
Posts: 8
Joined: Wed 29. Jan 2025, 11:34

Re: bus load

Post by Tejaswi » Wed 2. Apr 2025, 07:32

Hello,
We are planning to purchase PCAN developer .Can you confirm if we can send a CAN Frame but i want to induce errors in the CAN Frame by modifying it's bits.
Thank you

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: bus load

Post by M.Maidhof » Wed 2. Apr 2025, 09:11

Hello,

yes, when using a PCAN FD hardware, it is possible to generate error frames using the PCAN-Developer API, as it is possible with PCAN-View Error Generator tab with those CAN FD hardware devices.

regards

Michael

Tejaswi
Posts: 8
Joined: Wed 29. Jan 2025, 11:34

Re: bus load

Post by Tejaswi » Thu 3. Apr 2025, 07:44

I want more information as to how I can generate the error frame.

1. When specifying the bit position, do i count the stuff bits ?
2. How do I know where the stuff bit lies. It is important me to as i want to error different types of error as Acknowledgment error, Bit Stuff error, Form Error, CRC Error, etc. In order to generate a specific error I want to add bits to specific position. So how do I count the bits, with stuffing or without stuffing?

Do you have detailed manual on how to use this function because we couldn't find it anywhere. It's written in very short everywhere.

Tejaswi
Posts: 8
Joined: Wed 29. Jan 2025, 11:34

Re: bus load

Post by Tejaswi » Thu 3. Apr 2025, 07:57

Also, In the error generator tab. Can you refer to the screenshot and let me know what does it mean exactly ?

Can i set bit position less than 15 or not for std can frames or is it just a recommendation ?
Attachments
{8EEEDFC7-0007-4343-A10F-10A68158379F}.png
{8EEEDFC7-0007-4343-A10F-10A68158379F}.png (12.51 KiB) Viewed 3278 times

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: bus load

Post by M.Maidhof » Thu 3. Apr 2025, 14:33

Hi,

you must excatly know how the frames looks like, also with all stuff bits. You can download the PCAN-FD frame Analyzer tool from our website, to see how a specific frame looks like on the physical CAN.

https://www.peak-system.com/fileadmin/m ... alyzer.zip

Please see also help of PCAN-View about Error Generator Tab.

Destroying a frame below 15 for std ID and below 39 for ext ID will destroy the ID field, so the ID could not be used as a refence anymore for the "Number to Frames to ignore".

Please note that you need good knowledge of CAN if you want to destroy the exact CAN field of a given message!

regards

Michael

Post Reply